I am having a problem with my product landing page I can’t seem to be able to fix. My navbar was obscuring the content on the page so I added margin-top to the div below it. However, this pushes the navbar down from the top of the page. I would appreciate any suggestions on how to fix this. Thank you!
I’m looking around and it seems like the navbar and your top section are, for the lack of a better term, stuck together.
When I commented out part of this css
.infogrid{
width:80%;
//background-color:#eeeeee;
/* margin: 100px auto 0px auto; */
Both your navbar and the top part of the page both went to the top. And even just adding a margin top to it will also bring the navbar down with it. It’s got me a bit stumped as well.
Yeah that’s the 100px of top margin I hoped to add to the top of the page but it keeps bringing the navigation bar down with it. All I can think of to fix it is to add some negative margin to the nav bar to bring it back up but it feels like a band-aid fix.
I had issues with my own site that’s doing weirdness like covering up the top part of my sections.
So I played around some more gave your .infogrid a position of relative and padding-top of 100px. That sort of fixed the issue but caused problems with your infogrid with the text going out of the boxes at the bottom.
Thank you!! That seems to fix it. Adding a little height to the info boxes is going to be a lot simpler problem to solve than fixing the original issue
You’re very welcome. I would definitely try to check it in mobile view because of the media code in your css just to make sure nothing weird is going on with it. And if the navbar goes behind things give it a z-index of 1.