Show / Hide Menu (Multiple Menus)
-
Re: Show/hide menu
Hi @arminunruh!
Is there a way to hide the 2nd 3rd and 4th menu using css?
Like you did in the post above with the primary menu using nav.primary.Greets, Paul
-
Already figured it out! :)
By using:
body[data-type="page"][data-id="10"] nav{
display: none !important;
} -
Dear @Paul_Moxie
yea! Thank you for sharing!Best!
Marius -
Hi @Paul_Moxie and @mariusjopen ,
display: none and visibility: hidden both worked for me with hiding a secondary menu on certain pages, thank you!
I've been trying to hide a menu everywhere -except- on certain pages. I was wondering whether you had a trick for that. I tried several different ways such as :
In the main body:
nav.fourth_menu{
visibility: hidden !important ;
}body[data-id="1"][data-type="category"]{
nav.fourth_menu{
visibility: visible !important ;
}But so far no success. If you have any suggestion I'd be most grateful, thanks!
-
Dear @tortue771
great! Thank you for sharing!Marius
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