[Resolved] Menu left becomes sticky navigation top

Home Forums Support Menu left becomes sticky navigation top

This topic contains 3 replies, has 2 voices, and was last updated by  David 6 days, 23 hours ago.

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 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 Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.