remove one menu item from landing page (carousel)
-
Hi @arminunruh
I would like to hide one menu item (menu-item-92) from the landing page (both desktop and mobile).
I tried different CSS from related topics. Unfortunalty it doesn't work.
Thanks a lot! Appreciate it!
-
https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page
read this please
you dont really have different URLs right u only have one URL and people use the fullscreen slider there?
.slug-fullscreen2 .menu-item-92{ display: none!important; }
-
thanks @arminunruh !
it almost works: only now the menu-item 92 is always hidden. is there a way so it would be only hidden on the landing page?
yes the website only has one URL and I use the fullscreen slider.
thanks!
-
Hi @arminunruh, did you maybe had time for this? thanks.
-
hey please read the tutorial link i sent you. when using the correct .slug-* css class, it should only be hidden on that one page that has this slug
ah but maybe what you mean is not different urls but u mean different fullscreen slider slides?
so if u want it hidden on the first slide, use this css instead:
.fp-viewing-0-0 .menu-item-92{ display: none!important; }
-
hey, exactly it is not different urls (so I couldn't use the tutorial link).
this css works great. thanks so much @arminunruh.
it's really great to work with.
-
ok im glad i could help you!
sorry i couldn't help you with the other thing with the other one post u did :O :/
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