My navbar only stays sticky to the top of the screen when the header tags aren’t wrapped around it. does anyone know how to fix this because i think for the user story you have to wrap your navbar in header tags.
Hi dmoney
I tinkered with it some. Moving this sticky-top class from your nav to your header seems to have fixed it.
<header id="header" class="sticky-top">
Good luck!
Thank you so much, I had no idea that that class attribute would work in the header tag. I really appreciate your help
1 Like