[Resolved] Google fonts GDPR + Child Theme

Home Forums Support [Resolved] Google fonts GDPR + Child Theme

Home Forums Support Google fonts GDPR + Child Theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1498377
    Giselle

    Hi,

    I’m using Open Sans in your Theme Options.

    I’ve looked at the posts here:
    https://generatepress.com/forums/topic/gdpr-and-google-fonts/

    I noticed they are quite old and I wasn’t clear from your comment re GDPR whether I need to add the fonts to my own server?

    If so, do I need to use a child theme. I don’t have one set up as I’ve mostly changed CSS. Can I add font refs in Simple CSS?

    Thanks for you help.

    All best,

    Giselle Leeb

    #1498576
    David
    Staff
    Customer Support

    Hi there,

    you can install google fonts locally with a child theme, this document explains how:

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

    Or the simpler solution is to use the OMGF plugin:

    https://wordpress.org/plugins/host-webfonts-local/

    #1498611
    Giselle

    Hi David,

    Thanks for the info re OMGF.

    Just to clarify: Do I need to add fonts manually instead of using your font settings to meet GDPR requirements? I thought Tom’s comment meant perhaps not.

    Can I add @font-face to my Simple CSS stylesheet, or do I need to use a child theme. I’m not using one now and would rather not if I don’t need to.

    Thanks!

    Giselle

    #1498907
    Tom
    Lead Developer
    Lead Developer

    If you’re not going to use the plugin, you would need to follow the Adding Local Fonts article that David linked to.

    That will allow you to:

    1. Upload the font files to your server.
    2. Add the @font-face CSS to your site. You can use Simple CSS or a child theme, just use the absolute URLs if you use Simple CSS.
    3. Make it so the local fonts are available in the Customizer for you to select.

    Let us know if you need more info ๐Ÿ™‚

    #1499444
    Giselle

    Thanks so much, Tom.

    #1500179
    Tom
    Lead Developer
    Lead Developer

    No problem! ๐Ÿ™‚

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