[Resolved] Font Awesome Kits

Home Forums Support [Resolved] Font Awesome Kits

Home Forums Support Font Awesome Kits

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1281156
    Laura

    I see Font Awesome is using the kit approach. I also remember reading that Tom said Font Awesome is rough on performance.

    They suggest adding a kit code to the head tag.

    1. What is your opinion about this newer approach re performance?
    2. Where would I add the code to head tags in GP settings?

    Thanks in advance.

    #1281276
    Leo
    Staff
    Customer Support

    Hi there,

    1. We don’t really use FA anymore so haven’t done any testing. You can try implement it and do the before/after speed test.

    2. wp_head hook in hooks element is what you are looking for:
    https://docs.generatepress.com/article/hooks-element-overview/
    https://docs.generatepress.com/article/wp-head/

    #1282946
    Laura

    What are you using instead for icons? They are integrated into one of my main plugins, WP GeoDirectory so…I think I have to use them for that anyway.

    Is there something you guys are finding is better?

    Thanks.

    #1282953
    Leo
    Staff
    Customer Support

    If they are already built-in to a plugin then I guess you might as well just use it.

    SVG is definitely better for performance.

    #1282955
    Laura

    Like these?
    https://icomoon.io/
    I think I saw you recommending them in a previous post?

    #1282956
    Leo
    Staff
    Customer Support

    Yup that’d work too!

    #1282963
    Laura

    What did you mean by SVG? A particular provider?

    #1282965
    Leo
    Staff
    Customer Support

    Nope – I don’t use a lot of icons so I just find free SVG icons online and add them when I need them.

    #1282999
    Laura

    Do you add them inline rather than use a resource which loads them?

    #1283263
    Leo
    Staff
    Customer Support

    Yup – there are multiple ways to do this.

    Icomoon might be the easiest.

    #1286039
    Laura

    Thanks!

    #1286042
    Laura

    Thanks you! Trying to mark this as resolved but it’s not taking it. Trying again.

    #1286084
    Leo
    Staff
    Customer Support

    No problem 🙂

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