Site logo

Archived topic

Own font system stack

3 replies · Started by Sebastian on July 7, 2020

Viewing posts 1–4 of 4

Hi,

I want to make my own font system stack.

How can I do that?

Or is there an easy way to edit the existing system stack?

Sebastian

Hi Leo,

I know.

To be exactly, I want to change the order of the fonts in the system stack which I can choose in the font list in the customizer.

or better

Create another system stack which I can choose in the font list in the customizer.

Hi there,

You can filter the system stack value:

add_filter( 'generate_typography_system_stack', function() {
    return 'your own system stack here';
} );

Hope this helps! :)

This archived topic is closed to new replies.