Using Fontawesome 4 via CSS

With a older website we needed to fix some Fontawesome issues where the icons stopped displaying correctly. We needed to match their old Fontawesome version 4. The template was set to use Fontawesome 4. All of this needed to be set in the CSS. Here is what we needed in our CSS file.

font-family: FontAwesome;
content: “\f061”;
font-weight: 900;

We have to use “Font-weight: 900;” or nothing would show.

Let us know if this helped you…


Comments

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »