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
-
@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!
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