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

.social-icon is not affecting my footer

The width, height, and margin are not applying to the social media logos and I cant find an error.

HTML: http://pastebin.com/HNKkjPnR
CSS: http://pastebin.com/QZZGsfZd

1 Answer

Rich Donnellan
MOD
Rich Donnellan
Treehouse Moderator 27,696 Points

Hey Jean,

You're missing the closing curly brace (}) on the footer element selector. This should resolve your issue:

footer {
  text-align: center;
  clear:both;
  font-size: 0.75em;
  padding-top: 50px
} // <-- Missing from your code 

P.S. – I also reformatted your question to make things a bit more clear.