Skip to content

Sticky header #139

Discussion options

You must be logged in to vote

You can do this with a custom css file:

.navigation-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 50;
    background: #fff;
}

If you want to stick the whole header with navigation, you need to move navigation inside the header, and then add similar styles, but for the .page-header selector.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dheerajKsharma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants