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 trialArmando Ruiz
8,099 PointsI followed all the steps and the result is: both menus, contact and shirt are underline?
I followed all the steps and the result is: both menus, contact and shirt are underline, also the background for the shirt menu link is white?
3 Answers
Carlos Mendez
6,757 PointsI found that you need to add the $section variable to index.php as well but with a value of $section = " "; or an empty string. For some reason when on the home page I was getting a big white blob in my nav.
It took me a minute to figure this out but finally I realized that prior to the introduction of the variable everything was fine and that only the home page was lacking it. Since the homepage would never require the condition of "on" I gave the variable no value and this resolve my issue.
I hope this helps others who might be confused by a busted nav after following the instructions to the letter.
Shane Meikle
13,188 PointsYou posted what the result is, but didn't post what result you are looking for. Also, posting the code would be helpful :)
Armando Ruiz
8,099 PointsYou are right! Sorry, I fixed it already Thanks
Adam Oliver
8,214 PointsAdam Oliver
8,214 PointsThanks
Developers UA
Courses Plus Student 39,426 PointsDevelopers UA
Courses Plus Student 39,426 PointsThanks a lot, that'll do the trick