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.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it