[Resolved] Font Awesome icons not loading

Home Forums Support [Resolved] Font Awesome icons not loading

Home Forums Support Font Awesome icons not loading

  • This topic has 9 replies, 4 voices, and was last updated 4 years ago by Leo.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #253728
    Sigve

    Hello, i am having some problems with displaying font awesome icons on my website.

    I am running wp nginx with Autoptimize and WP Fastest Cache. First i thought that css minifying was the problem, so i have disabled anything css related on Autoptimize and Autoptimize. I also tried to disable gzip in nginx without any luck.

    edit: almost forgot, i also have 2 icons top right in the primary navigation, they are not working either.

    Here is my site: https://sigve.xyz

    The icon should appear in front of my email address.

    Thanks <3

    #253755
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    It looks like you’re using the Font Awesome essentials filter which will only load the essential icons for GP.

    It’s likely those icons aren’t in the essentials bundle.

    Let me know if you need more info πŸ™‚

    #253852
    Sigve

    Hey, really weird since they were working a couple of days ago. Any clue what i could do to fix it?

    Thanks for your help, appreciate it!

    #253895
    Tom
    Lead Developer
    Lead Developer

    Remove this function, which you must have added at some point:

    add_filter( 'generate_fontawesome_essentials', 'generate_fontawesome_essentials' );
    function generate_fontawesome_essentials()
    {
        return true;
    }
    #253900
    Sigve

    Wow, i am so dumb.. Totally forgot that i added that to improve the loading time of the site.

    Fixed now!

    You are doing gods work, the effort you are putting into GP is incredible! #keepgoing

    Thanks alot!

    #253907
    Tom
    Lead Developer
    Lead Developer

    You can keep the essentials and build your own font icon file using a tool like icomoon: https://icomoon.io/app/#/select

    That way you don’t need to load the entire Font Awesome library.

    Glad I could help! πŸ™‚

    #1225293
    n52

    Hi there!
    I have some troubles, too.
    I ve made two identical sites.
    BUT
    On the first site there is no problem with font awesome.
    And on the second site font awesome isn’t loading! It even has no chekbox “loading only essential icons”. The first has.
    What I have to do to solve this problem?

    https://etalon-ct.ru/ – the first
    https://med.etalon-ct.ru/ – the second

    #1225627
    Leo
    Staff
    Customer Support

    Hi there,

    This topic is super old.

    Please take a look at this article here first:
    https://docs.generatepress.com/article/font-awesome/

    And open a new topic if you need further help on this.

    Thanks!

    #1225860
    n52

    Thx a lot!

    #1226428
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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