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


Brian Patterson
Brian Patterson
19,588 Points

Social Icons have moved to the left.

My social icons have moved over to the left how do I centre them?

can you post you code , for i get some idea?

1 Answer

Poul Larsen
Poul Larsen
5,902 Points

If you mean the social icon from the "How To Make A Website" Course. https://teamtreehouse.com/library/how-to-make-a-website

Here is the code for the footer where is says "text-align: center;" to make the social icon in the middle/center



footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
  color: #ccc;

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