Viewing 1 replies (of 1 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    GeneratePress does most of this by default.

    The only thing we don’t do by default is the font-display property.

    However, you can do this easily with a filter:

    add_filter( 'generate_google_font_display', function() {
        return 'swap';
    } );

    Let me know if you need more info ??

Viewing 1 replies (of 1 total)
  • The topic ‘Tom, optimizing Google fonts’ is closed to new replies.