minus-squarecuriouscanoe@beehaw.orgtoTechnology@beehaw.org•Made Lemmy waaaay more tolerable to read with Stylebot and some custom CSS!linkfedilinkarrow-up6·edit-21 year agoJust 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. linkfedilink
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.