[Resolved] remove menu item from sticky navigation

Home Forums Support [Resolved] remove menu item from sticky navigation

Home Forums Support remove menu item from sticky navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #797900
    Robyn

    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;
    }

    #797904
    Leo
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #797917
    Robyn

    sweet! thank you so much!

    #797959
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.