[Resolved] Font-awesome Not loading

Home Forums Support [Resolved] Font-awesome Not loading

Home Forums Support Font-awesome Not loading

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #224718
    Andy

    Hi Tom,

    For some strange reason font-awesome has suddenly stopped working on the site I’m building, it was working fine then suddenly the facebook icon I had added to Footer Widget 1 is not displaying.

    This is the code thats in the footer widget:

    <i class="fa fa-facebook-official" ><!-- HTML comment --></i>

    URL: http://tinyurl.com/zrtj257

    Any help much appreciated!

    #224721
    Tom
    Lead Developer
    Lead Developer

    You’re loading font awesome essentials, which only loads the icons necessary for GP.

    If you want to use other icons, you need to load the entire library.

    #224736
    Andy

    Sorry I dont quite understand, I just tried adding the markup from the generatepress site and it still doesnt display.
    How do I use the fa facebook icon that comes with GP?

    #224737
    Tom
    Lead Developer
    Lead Developer

    Check out the Removing Font Awesome section on this page: https://generatepress.com/fastest-wordpress-theme/

    You’ve added that filter which removes Font Awesome and only loads the necessary icons for GP to work.

    #224738
    Andy

    Oh ofcourse! – I completely forgot I’d added that. I read your article about Optimizing GP and added that function thinking I wouldnt need to use icons.

    Sorry m8 I really shouldnt have bothered you with this.

    #224783
    Tom
    Lead Developer
    Lead Developer

    No worries! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.