minus-squarecuriouscanoe@beehaw.orgtoTechnology@beehaw.org•Made Lemmy waaaay more tolerable to read with Stylebot and some custom CSS!linkfedilinkarrow-up5·1 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: 1; } 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. 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: 1; }
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.