Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Caspar Claessen
9,060 PointsNavigation bar is not changing
2 Questions:
There is still a white space above my header on the portfolio page. How can I fix this?
My navigation bar is not changing, after following the first steps of Nick. Who can help me? I do not know what is wrong with my code. Here's a snapshot of my workspace: https://w.trhou.se/qihf8odocj
Thanks in advance.
Caspar Claessen
1 Answer

Ryan Duggan
Courses Plus Student 5,591 PointsIf you float your unorganized gallery list to the left, it seems to fix the problem. When inspecting the element before any changes, there seemed to be a rouge element inline with your header, added with the #gallery margin(top) of 50px causing the gap.
#gallery {
margin: 50px 0;
padding: 0;
list-style: none;
**float:left;**
}
#gallery li {
**float: left;**
width: 45%;
margin: 2.5%;
background-color: #F5F5F5;
color: #BDC3C7;
}```
Caspar Claessen
9,060 PointsCaspar Claessen
9,060 PointsFixed it! Thanks for your help and time!