[Resolved] The 'best way' to use FontAwesome? I only need 2 or 3 icons!

Home Forums Support [Resolved] The 'best way' to use FontAwesome? I only need 2 or 3 icons!

Home Forums Support The 'best way' to use FontAwesome? I only need 2 or 3 icons!

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #865509
    Henry

    Hi, I understand that fontawesome loads too much overhead right?

    I just need 2 or 3 icons and I’m pretty sure that you can create a tiny file to just use those icons.

    My question is: how do I go about loading these font files (correctly) into GP?

    Thanks

    #865534
    Tom
    Lead Developer
    Lead Developer

    Definitely, Font Awesome is huge.

    You could use a tool like https://icomoon.io/

    That allows you to build your own “font” with only the icons you use, which you can include in your child theme using @font-face.

    Alternatively, you can just use inline SVGs for your icons.

    #865563
    Henry

    very interesting…thanks a ton.

    Best thing about GP so far is:

    – community
    – ease of use
    – hooks… < v nice useful feature…

    #866278
    Tom
    Lead Developer
    Lead Developer

    No problem!

    Thanks! Glad you’re enjoying it 🙂

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