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

CSS

Add icons to site

Hi, how do I use icons from sites like The Noun Project and Font Awesome on my webiste? I know how to download them but how do I locate where the icons are stored in the CSS folder and use the downloaded one? Im editing from a template so I have to use the same icon name, just save over it...I'm using sublime text.

Thanks Brady

You just have to add the provided CSS file to your html and include those icons with either a <span> or <i> tag using the given class names for the desired icon. If you are using the downloaded version, you will usually get a CSS file and some folder with font files inside them. Just leave them as they are and it should work. Alternatively, you can use the CDN version and you won't get confused with the additional folder. :-)

Class names for icons can be found in the docs.

Here is an example if you want to add the GitHub icon with Font Awesome:

<i class="fa fa-github" aria-hidden="true"></i>