How to override the font size values for Gutenburgs Typography options in a child theme?


Not version specific, but I see within WordPress 5.5.3, Gutenberg provides the following typography options when managing text…

enter image description here

I see the option for custom, but I’m crafting a custom child theme, and want to make this as easy as possible for my user to simply select any of the first 6 options. Is there an action I can add to my child theme that allows me to change the default font size values for these first 6 options?

I hate inline styling on elements, and love the idea that Gutenburg now sets custom class names on elements for the font sizes. Just need a way to change their values….

If so, how do we set it up?

klewis 2 months 0 Answers 6 views 0

Leave an answer