Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Phil White
PLUS
Phil White
Courses Plus Student 9,519 Points

How do i get the content of my site to start after the fixed nav bar?

Hi all,

How do i get the content of my site to start after the fixed nav bar? As at the moment it is starting behind it out of site. I've tried using margin top and padding top but that then pushes the next paragraph down...

2 Answers

Add an div above your content, transparent with the same height of your nav (=

Hugo Paz
Hugo Paz
15,622 Points

Do you have your website live so we can have a look?

Phil White
Phil White
Courses Plus Student 9,519 Points

no not yet, i'm going to put live when i'm happy to get feed back and do final tweaks