![]() Inside this category, you place the font family names in an array, using the following values: Note that the category name for the list is fontFamilies (plural). Typography options on the root level of the settings section creates presets that you can use for the website and for all blocks. You add font families in theme.json by listing them inside the typography section under the main settings section: Once you have registered the font options they are available in the Font family control in the block’s typography panel: How to add font families to the block editor The following blocks have a font family control in the editor (July 2022, Gutenberg 13.7):īutton, comment author name, comment content, comment date, comment edit link, comment reply link, comments title, heading, list, navigation, post author biography, post author name, post date, post navigation link, post title, query title, read more, site tagline, site title, verse. You can add a default font family to the website and to any text based block using the theme.json styles section. How to disable the custom font size optionįont family Which blocks support font family?.Adding a font size option for a specific block.How to add new font sizes using theme.json. ![]() Which WordPress blocks support font sizes?.How to add custom fonts from Google Fonts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |