curiouscanoe

@curiouscanoe@beehaw.org
1 Post – 3 Comments
Joined 1 years 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.

I guess that would make the sense. I wonder why it's just this one instance I'm seeing issues with though 🤷‍♂️

Curiously I see 3 comments on this post and only 2 are showing up :-/