css selectors for 2nd and 3rd menu?
-
hi all, can someone help me out with the css selectors for the 2nd and 3rd menu. the 1st is "primary" but i could'nt figure out whats the others. my idea is: i wanna hide the sitetitle, first and 2nd menu in projects and it should show up the third there with "back" or something like that. my goal is to achieve a much cleaner project page to focus on images. for css i use
[data-type="project"] .sitetitle{ display:none; }[data-type="project"] .primary{ display:none; }
-
hey in chrome u can always right click an element in the browser and click "inspect element"
first menu:
.primary{}
and the others:
.second_menu{}
.third_menu{}
.fourth_menu{}
:)
-
u can also do this:
body.type-project .sitetitle{
display:none;
}body.type-project .primary{
display:none;
} -
@arminunruh said in css selectors for 2nd and 3rd menu?:
.primary{}
and the others:
.second_menu{}
.third_menu{}
.fourth_menu{}
:)Mega. Works fine! haven't found the menu names there in the inspector.
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it