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 :/
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