[Resolved] Can we fix at the top the secondary menu during scrolling down?

Home Forums Support [Resolved] Can we fix at the top the secondary menu during scrolling down?

Home Forums Support Can we fix at the top the secondary menu during scrolling down?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1558310
    Sara Genone

    Hi all
    I need to fix at the top (into the sticky navigation bar) the secondary navigation bar ?
    Is it possible to do that in desktop and also mobile view?
    Thank you in advance for help
    Sara

    #1558665
    David
    Staff
    Customer Support

    Hi there,

    you would need to:

    1. Disable the Sticky Navigation and Sticky Mobile Header options.
    2. Replace your current sticky CSS and use this:

    .site-header,
    #mobile-header,
    #site-navigation,
    #secondary-navigation {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
    }
    
    .site-header,
    #mobile-header {
        top: 48px;
        z-index: 1000;
    }
    
    #site-navigation {
        top: 198px;
    }
    #1558725
    Sara Genone

    Thank you David
    Sara

    #1560016
    David
    Staff
    Customer Support

    You’re welcome

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