Fixed nav bar but body scrolling into header

How do I stop the content of my page scrolling into my header?

Here is my code : https://codepen.io/soupdumpling/pen/ExvbXMm

Thank you!

I’ll give you a hint. By default, the background of an element is transparent.

1 Like

Hello @TyEvans !
You forgot to add one madia query.

I cannot thank you enough! I had searched the internet for hours trying to find an answer and it was so simple all along. thank you thank you thank you :slight_smile:

1 Like