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.

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!