• Hi, I created a child theme for twentyseventeen, and I’m trying to make the top menu a sticky one, when you go down the menu should follow the user in the top part of the page.

    Any suggestion of how to get to do this?

    Thanks in advance

Viewing 1 replies (of 1 total)
  • This may give you what you are looking for.

    
    /*--------------------------------------------------------------
    Move the header bar / nav to the top of the screen in fixed position, so the rest of the website scrolls under it.  
    --------------------------------------------------------------*/
    .navigation-top {
    position: fixed;
    z-depth: 9999;
    top: 0;
    width: 100%;
    background: #fff;
    height: 150px;
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘How do I make the menu sticky?’ is closed to new replies.