[Support request] Host google fonts locally

Home Forums Support Host google fonts locally

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1307203
    Sagar

    I was trying to host google fonts locally with the help of gtmetrix report. As I am using two google fonts on my site, I am being confused about which URL to pick and paste in the code snippet. Any detailed explanation on hosting google fonts with the help of gtmetrix?

    #1307482
    David
    Staff
    Customer Support

    Hi there,

    this document explains how to add local fonts:

    https://docs.generatepress.com/article/adding-local-fonts/

    The method is the same whether you create the @font-face CSS or GT Metrix ( or another site ).

    Regarding URLs – best to list the full URL to the fonts location in your Child Theme folder or the Media Attachment URL depending which method you choose to upload your fonts .

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