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 trialNikolai Calder
4,096 Points.social-icons
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
2 Answers
Ryan Carson
23,287 PointsIt could be that your HTML file isn't correctly linked to your CSS file
Nikolai Calder
4,096 Points.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>
Dean Wagman
21,591 PointsDean Wagman
21,591 PointsHi Nikolai,
Could you provide your code?