• Resolved msdesignfoto

    (@msdesignfoto)


    Hello

    I’m working on an online store and its mostly finished, we’re just polishing and finishing some minor details. However, I do have a question I can’t see how to solve:

    I’ve optimized the site speed a bit with W3 Cache and Async JS, already noticed a speed increase in real-use and testing sites. But the Page Speed Insights still warns about some font is being loaded (Roboto). I used Easy Google fonts to replace all fonts by Arial for now (all Headers and Paragraph), until we decide what to do next. Speed Insights still annoys me with the Roboto font (among other stuff) is being loaded and delaying everything.

    How can I replace Roboto font by any other, in order to speed up the site opening process?

    The final font may not be Arial, it can be something similar, but as it is right now feels ok.

    Regards

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you really want to optimize for speed, use system fonts.

    This is where you seem to be pulling Roboto:
    link rel='stylesheet' id='shoppingcart-google-fonts-css' href='//fonts.googleapis.com/css?family=Roboto%3A300%2C400%2C400i%2C500%2C600%2C700&ver=5.7' type='text/css' media='all' />

    Are you using some shopping cart plugin?

    Thread Starter msdesignfoto

    (@msdesignfoto)

    No, the shopping cart is part of the theme. We have YITH Wishlist but thats not the shopping cart itself.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You’ll have to fix that in the theme’s code.

    Thread Starter msdesignfoto

    (@msdesignfoto)

    The current theme is a child theme, so I guess I can just remove those lines and see the difference.

    Thanks!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It should be an wp_enqueue_script function call in the child’s functions.php. Don’t forget to check the CSS for any use of that font.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Replace a font reference’ is closed to new replies.