Archived topic
Missing Certain FontAwesome Icons
4 replies · Started by Kelly on November 7, 2018
Hello all,
I am attempting to use the following FontAwesome Icon:
<i class="fas fa-running"></i>
However, it is not showing. Other icons such as: <i class="fa fa-user-o"></i> work without issue.
Any ideas of what is occurring?
Thanks!
K.
Hi there,
the fas class means its a FA 5.0 icon, and you currently are running FA 4.7, so you can only use the icons from the legacy FA site:
Thanks David!
Any plans to add the new 5.0 version in the new future?
Regards,
K.
… I just added a "hook" for the site that has the CDN link and the FontAwesome 5.0 Icons are showing up. Is this an acceptable use of Hooks? Or will it cause issues with GeneratePress 4.7 Version of FontAwesome?
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
Hooks are the perfect place for adding those types of code :)
FA was removed from GP when FA 5.0 first became a thing. Aside of it being quite heavy we found most users had other plugins or pagebuilders that were adding the code. So one of your other plugins will be adding it ( unless you're on an old version of GP ).