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

HTML How to Make a Website Styling Web Pages and Navigation Polish the Navigation and Footer

Caspar Claessen
Caspar Claessen
9,060 Points

CSS doesn't change the icons.

My social icons don't change after the adjustments I have made following the instructions in the video.

I cannot find my mistake in CSS or HTML. Hopefully somebody can help me.

https://w.trhou.se/4bubz24kb5

6 Answers

Hmm weird!

Well I don't see anything wrong with the html or css. Maybe is not loading as it should in your browser. Try going to your Browser settings and cleaning both the cache and cookies, downloaded files... just uncheck filled passwords. and try previewing that again.

Can you please post your HTML and CSS code here please.

Caspar Claessen
Caspar Claessen
9,060 Points

<a href="http://www.twitter.com/casparrr10"><img src="img/twitter-wrap.png" alt="Twitter logo" class="social-icon"> </a> <a href="http://www.facebook.com/caspar.claessen"><img src="img/facebook-wrap.png" alt="Facebook logo" class="social-icon"> </a>

.social-icon { width: 20px; height: 20px; margin: 0 5px; }

Caspar Claessen
Caspar Claessen
9,060 Points

Don't know why, but it worked! Thanks

you're welcome! make sure to select my answer as solved your problem :). anything else you need I'm here.

I just had this problem as well. I did what Frederico suggested, and it worked for me too :) Thanks!