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;
} -
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{}
:)
@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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login