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

PHP Build a Simple PHP Application Creating the Menu and Footer Adding Active States to the Navigation

After I added active states to the navigation. I get a broken shirts icon on the header of the index.php.

After I added active states to the navigation. I get a broken shirts icon on the header of the index.php. The shirts tab and contact tabs are also underlined in the header of index.php which isn't supposed to happen. But when I click the shirts tab or contacts tab it works as the video showed me(only the shirts tab gets underlined when I click shirts tab, and only the contact tab gets underlined when I click the contact tab). Could this be the problem with the css page? since may be the Treehouse Team made modifcations to it?

Jason S
Jason S
16,247 Points

I got that too, and it is due to line 605 in the css:

.section.shirts {padding-bottom: 42px; background: #fff;}

if you take out this background of white it will be normal. Maybe it will be used in a later video I am not sure.

Ellen Sun
Ellen Sun
1,605 Points

Thanks Jason S. That solved the problem!