Archived topic
remove menu item from sticky navigation
3 replies · Started by Robyn on January 31, 2019
Hi,
I would like to remove the "Home" menu item when the sticky navigation is activated. The logo appears on scroll down (sticky activated) and will work as the home link. I'm trying to make some room in the menu bar and give me some space for the Cart icon to stay in line, instead of it dropping below the menu (perhaps a different solution is more efficient?). Home should still appear when sticky is not activated.
I tried this, but it doesn't seem to work.
#menu-item-1191 .nav-float-right .is_stuck.main-navigation {
display: none;
}
Hi there,
Try this:
.main-navigation.navigation-stick .main-nav ul li#menu-item-1191 a {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know :)
sweet! thank you so much!
No problem :)