Archived topic
Own font system stack
3 replies · Started by Sebastian on July 7, 2020
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 there,
Not quite sure if I understand.
System stack is the operating system font which depends on the system of the users:
https://css-tricks.com/snippets/css/system-font-stack/
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! :)