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 trialThiago de Bastos
14,556 PointsExtra Credit: Modify CSS to display new icon
Hey guys nothing I do seems to work! I am trying to change the background icon for the new menu item to an external url but nothing seems to do the trick! Have any of you managed to get this done??
3 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Thiago,
It would be hard to say what you might be doing wrong without seeing the code.
Have you added this link to your nav and given it an appropriate class name?
What have you tried in the css?
The project uses a css sprite for all the icons. If you're using a separate image for your new icon then you're going to need to change the background-image
for that link and possibly adjusting positioning.
The relevant css starts at around line 514 in the supplied css file. Please show us how you've updated that part of the css.
Thiago de Bastos
14,556 PointsThanks Jason Anello! Apologies for the late response!
Jonathan Fernandez
8,325 PointsThanks for this answer. Helped me out too with this code challenge. : )