[Resolved] Locally added fonts not loading in block editor

Home Forums Support [Resolved] Locally added fonts not loading in block editor

Home Forums Support Locally added fonts not loading in block editor

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #2242635
    bjbowen

    add_filter( ‘generate_editor_styles’, function( $editor_styles ) {
    $editor_styles[] = ‘wp-content/themes/generatepress/assets/css/admin/editor-style.css’;

    return $editor_styles;
    } );

    This is what I’m using and it’s the only editor-style.css I can find. But, I’m still not getting the headlines to work.

    #2242775
    Ying
    Staff
    Customer Support

    Hi bjbowen,

    Did you add the font following this instruction?
    https://docs.generatepress.com/article/adding-local-fonts/

    If so, could you open a new topic and link us to your site?

    Please also attach the name of the local font.

Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.