Site logo

Archived topic

Suggestion: Add sans-serif and serif to the fonts

3 replies · Started by 93487u5tr938ouh4trnos8fyoh on January 7, 2020

Viewing posts 1–4 of 4

Hi,

I think it makes sense for you to add these as an option:

sans-serif
serif

It's different than "System stack".

Wikipedia for example uses "sans serif".

Hi there,

Thanks for the suggestion! I'll look into this.

For now, you can do this:

add_filter( 'generate_typography_default_fonts', function( $fonts ) {
    $fonts[] = 'serif';
    $fonts[] = 'sans serif';

    return $fonts;
} );

Thanks, I’ll use it. From an accessibility point of view and multi platform point of view having these two by default would be awesome.

I agree - I'll get them added :)

This archived topic is closed to new replies.