Site logo

[Resolved] Suggestion For Updating Themes With Google Local Fonts

Home Forums Support [Resolved] Suggestion For Updating Themes With Google Local Fonts

Home Forums Support Suggestion For Updating Themes With Google Local Fonts

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2562298
    Manuel

    I read a couple days ago in WPTavern that “WordPress contributors have updated the legacy default themes to bundle Google Fonts locally in the theme folder, instead of loading them from Google’s servers.”

    Perhaps GeneratePress may want to do the same?

    #2562309
    Fernando
    Customer Support

    Hi Manuel,

    Google Fonts can be hosted locally in GeneratePress. Relevant article: https://docs.generatepress.com/article/adding-local-fonts/

    I’ll share this with our developers, however.

    Thank you, Manuel!

    #2569273
    Manuel

    Thanks. I tried to find the fonts MULI and Montserrat in the Helper Tool recommended in the article.

    Muli is not there to download and get the CSS help etc.

    I think I’ll wait until GP perhaps updates the templates with local fonts built-in.

    #2569290
    Fernando
    Customer Support

    Montserrat is in Google Fonts: https://fonts.google.com/specimen/Montserrat?query=montser

    You can download it from there.

    I found Muli here: https://www.fontsquirrel.com/fonts/muli

    Hope these help!

    #2574870
    Manuel

    The documentation in the link provided may need to be updated. The Google Font Helper referenced has moved to: https://gwfh.mranftl.com/fonts

    I found Montserrat there but not Muli. Downloading Muli from Font Squirrel would make it a bit tedious not having the Woff etc. versions and the CSS needed. A little bit out of my comfort zone.

    I think I will hope and wait to see if the designer of the Newsroom Template updates it to include the fonts locally, without users having to do it the hard way 🙂

    #2575881
    Ying
    Staff
    Customer Support

    Hi Manuel,

    Thanks for pointing out the URL issue, I’ve updated the documentation.

    As for the Muli font, it’s been re-named to Mulish, you should be able to find it using the tool. For more info:
    https://www.peppersquare.com/blog/10-best-google-fonts-for-your-website/#:~:text=Mulish%20(earlier%20known%20as%20Muli)*,-Mulish%20is%20a&text=It%20was%20originally%20designed%20to,changed%20in%20the%20year%202020.

    I think I will hope and wait to see if the designer of the Newsroom Template updates it to include the fonts locally, without users having to do it the hard way

    GP’s templates do NOT and will NOT have local fonts installed, at least in the near future.

    #2576024
    Manuel

    OK. I will start to slog away at it.

    What would you recommend as the most efficient way to add the CSS?

    The Customizer or WPCode?

    #2576229
    Fernando
    Customer Support

    Adding it through Appearance > Customize > Additional CSS should be fine.

    #2592442
    Manuel

    After experimenting a lot I’ve got Mulish and Montserrat working as local fonts in the Newsroom Template using WOFF and WOFF2.

    Everything appears to be fine checking with various browsers and mobile etc.

    What I cannot figure out is when editing a Page or Post in WP, everything is in what appears to be Times New Roman.

    #2592502
    Manuel
    #2592525
    Ying
    Staff
    Customer Support

    Glad you’ve found the solution 🙂

    #2592532
    Manuel

    Thanks. I think you may want to consider adding these fixes to the Local Fonts Article.

    #2592543
    Ying
    Staff
    Customer Support

    Good idea, I’ve updated the doc 🙂

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