[Resolved] Questions about adding Google Fonts

Home Forums Support [Resolved] Questions about adding Google Fonts

Home Forums Support Questions about adding Google Fonts

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #326080
    Yannick

    Hi,
    with this article it’s really easy to add missing/needed google fonts to the Typography list.
    https://docs.generatepress.com/article/customizing-the-google-font-list/
    Thank you!! Perfect Theme, perfect support!!

    What do you recommend to use? Code Snippet or ChildTheme? Activating all GoogleFonts or only the ones I need? Is there a difference in page speed depending on what I choose?

    On the first homepage I created, I somehow added only one Google Font in the Typograph list. But I have no idea how I did it. I have no Code Snippet or other PHP plugin, I didn’t add something in the function.php and also in SimpleCSS I find nothing…
    Someone has an idea what and how I added this GoogleFont, so I can delete it and add it with CodeSnippet or my ChildTheme?

    #326149
    Leo
    Staff
    Customer Support

    Hi there,

    If you don’t have tons of customization then Code Snippet should do. See this page for explanation when to use a child theme: https://docs.generatepress.com/article/using-child-theme/

    There is no point activating all the fonts if you are not using them.

    If you haven’t added any fonts, then it’s probably one of the most 200 popular google fonts that are activated by default?

    Let me know if this helps.

    #326158
    Yannick

    Hi Leo,
    I asked about “activating all fonts” for my own understanding, not so important πŸ˜€ I just wanted to know if this activation “uploads” all the fonts or does it only show all fonts which are anyway already uploaded?

    No the font (Alegreya Sans SC) is not in the 200 popular google fonts. On my new page I was looking for the same font I used on my old page, this is how I realised that I have no idea how I did it on my old page. The font is also listed on the end of the typography list and not in alphabetic order like the rest of the fonts.
    But also not so important. It works… not the best way if I don’t know how… but it works out πŸ˜€

    Best wishes
    Yannick

    #326172
    Tom
    Lead Developer
    Lead Developer

    It doesn’t upload any fonts, it simply adds them to the list in the Customizer, then makes the call to Google if they’re selected πŸ™‚

    #326459
    Yannick

    Thank you for your explanation πŸ™‚

    #326464
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    #332551
    James

    Is Code Snippet the same a Simple CSS (which I have installed)? I ask this here because I want to add a Google font.
    Thanks,

    #332554
    Leo
    Staff
    Customer Support

    Hi there,

    No they aren’t the same.

    Code Snippet is for adding PHP: https://docs.generatepress.com/article/adding-php/

    Simple CSS is for adding CSS: https://docs.generatepress.com/article/adding-css/

    #332556
    James

    Thanks, Leo!

    #332560
    Leo
    Staff
    Customer Support

    No problem!

    #332562
    James

    And what do you know? It works! LOL

    #332575
    Leo
    Staff
    Customer Support

    Awesome πŸ™‚

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