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!