Site logo

Archived topic

Question on Dynamic Typography and Adobe Fonts

3 replies · Started by Yael on December 22, 2021

Viewing posts 1–4 of 4

Do we no longer need to use the code snippet to add Adobe Fonts:

add_filter( 'generate_typography_default_fonts', function( $fonts ) {
    $fonts[] = 'miller-text';
    $fonts[] = 'interstate';

    return $fonts;
} );

From what I've read, I believe you would just need to add the Adobe font name in customizer > add font.

Yes?

Hi there,

That's right.

With the newest UI (GP 3.1), you can skip this PHP snippet and add the name of the font through the customizer. Just make sure the font family you'll add matches the font-family property of the font imported by Adobe font. :D

Thank you.

No problem. :D

This archived topic is closed to new replies.