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 :

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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.