Using Font Awesome and Fort Awesome together

Viewed 2713

I use both Font Awesome and Fort Awesome in my Rails app and am having some trouble because both use the .fa class to specify the font. I want to use a CDN for both fonts but I want the font to default to Fort Awesome when an element has the .fa class, and then use Font Awesome when both .fa and .fa-standard are present.

Example:

<i class="fa fa-facebook"></i>               --> use Fort Awesome
<i class="fa fa-standard fa-twitter"></i> --> use Font Awesome

Is there a way to achieve this while using CDNs for both fonts?

0 Answers
Related