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.

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


whenever i apply the changes to my css file the icons remain the same size. I made sure to check for typos or if i saved the changes but nothing works

Dean Wagman
Dean Wagman
21,591 Points

Hi Nikolai,

Could you provide your code?

2 Answers

It could be that your HTML file isn't correctly linked to your CSS file

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

<a href = "http://twitter.com/nikocal17"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
<a href = "http://facebook.com/niko.calder"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>