curiouscanoe

joined 1 year ago
[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

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.