Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] Menu left becomes sticky navigation top

Home Forums Support [Resolved] Menu left becomes sticky navigation top

Home Forums Support Menu left becomes sticky navigation top

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #599707
    Michiel

    Hello, is it possible to have a menu in a sidebar and have that same menu only vissible in the header as a sticky navigation? So only when you scroll the horizontal navigation appears…

    GeneratePress 2.1.2
    GP Premium 1.6.2
    #599849
    David
    Staff
    Customer Support

    Hi there,

    you can add the menu to the Primary navigation and to a sidebar widget. And then you could try this CSS to hide the primary nav until sticky is enabled:

    .main-navigation:not(.is_stuck) {
    	visibility: hidden;
    	height: 0px;
    }
    #599860
    Michiel

    Thanks David, it works!

    #599878
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.