[Resolved] How to show a menu item on sticky navigation only?

Home Forums Support [Resolved] How to show a menu item on sticky navigation only?

Home Forums Support How to show a menu item on sticky navigation only?

  • This topic has 3 replies, 2 voices, and was last updated 3 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1680170
    Daniel

    Hello,

    I have a menu item that I would like to remain hidden on all but the sticky navigation. I have assigned a custom CSS Class to the menu item already (iab-menu-item), but cannot find the proper CSS on the forum to show the item on the sticky menu only. Could you provide the custom CSS to accomplish this?

    Thanks in advance,

    – Daniel

    #1680465
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .main-navigation:not(.is_stuck) li.iab-menu-item {
      display: none !important;
    }
    #1680500
    Daniel

    Perfect! That did the trick. Thank you for the quick response.

    #1680551
    David
    Staff
    Customer Support

    Glad to be of help.

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