Show/hide menu
-
Hi @arminunruh !
just a quick question regarding the menu.I would like to hide it from the main (grid) page (I know you can do it from the Lay Options) but I would like to show it again when the user is inside a project in order he can go back to the grid page. Or displaying a Back button would be also useful even if it is not using the menu. Is it possible?
Many thanks and congrats as usual!
-
hey strk!
you can hide something by using custom css based on which page you are. please read this:
http://laytheme.com/documentation.html#custom-css-stylingSo some css that u could use can be
body.slug-frontpage nav.primary{ display: none!important; }For having a back button, hm I think for that you would need to use some custom html and css in "lay options" -> "custom css & html". Or maybe a footer with a link inside the footer? You could use the footer feature for that http://laytheme.com/documentation.html#footers
-
hey strk!
you can hide something by using custom css based on which page you are. please read this:
http://laytheme.com/documentation.html#custom-css-stylingSo some css that u could use can be
body.slug-frontpage nav.primary{ display: none!important; }For having a back button, hm I think for that you would need to use some custom html and css in "lay options" -> "custom css & html". Or maybe a footer with a link inside the footer? You could use the footer feature for that http://laytheme.com/documentation.html#footers
@arminunruh Thanks Armin!
So I should keep the menu activated for all pages/projects but use the css code to hide it from the main page, is that right? -
Yes that's right!
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