Upgrade FontAwesome to v5
-
We noticed on one of our customer’s websites that your theme still uses FontAwesome v4, which means style.css references “FontAwesome” font-family. With version 5, font-family should be “Font Awesome 5 Free”.
There’s a plugin that enqueues FA v5, which means icons are not showing that are built into the theme because of the wrong font-family.
More info on upgrading:
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4For reference:
/* version 4's styling (using calendar-o) */ .calendar::before { font-family: FontAwesome; content: "\f133"; } /* version 5's styling (using updated regular style of calendar) */ .calendar::before { font-family: "Font Awesome 5 Free"; /* updated font-family */ font-weight: 400; /* regular style/weight */ content: "\f133"; }
- The topic ‘Upgrade FontAwesome to v5’ is closed to new replies.