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

CSS How to Make a Website Adding Pages to a Website Add Iconography

welmoet van Kammen
welmoet van Kammen
5,507 Points

phon.png, mail.png, and twitter.png. I can not get them to show on my contact page

.contact-info li.phone a { background-image: url('../img/phone.png'); }

.contact-info li.mail a { background-image: url('../img/mail.png');
} .contact-info li.twitter a { background-image: url('../img/twitter.png');

3 Answers

Richard Rogers
Richard Rogers
7,506 Points

Hmm have you checked the ../ Path to make sure the images are located 2 directories upwards?

The code looks fine to me.

Maybe contact_info? Rather than -? It could be something simple like that.

Hope you manage to solve it.

Patrick Donahue
Patrick Donahue
9,523 Points

Try removing the "../" before "img" - or at least the dots. That should work.

Jason Slabbers
Jason Slabbers
4,447 Points

I can't see something wrong in your code, but it is a dash - between contact and info. My tip is download the lesson files and lay it next to yours, to check what it might be.