• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle
  • Just to tag onto this. I found it really frustrating that the navigation header for the site isn’t stickied to the top of the page. I added this to my styles to accomplish that:

    nav.navbar.navbar-expand-md.navbar-light.shadow-sm.p-0.px-3 {
        position: sticky;
        top: 0;
        background-color: #fff;
        z-index: 100;
    }
    

    Note that if you’re using a theme that doesn’t have a white background (#fff) you’ll want to adjust that value to whatever your background is.

    I also set the z-index arbitrarily high. It seems certain elements have a z-index already set, so this value might need some tweaking.