Location of the current theme json file for Site Editor for adding custom font?
-
I am trying to add a custom font to my WordPress site using the Site Editor ( wp-admin/site-editor.php ).
I’m using a twentytwentyfour child theme and have created a new json file at:
/wp-content/themes/twentytwentyfour-child/styles/mystyle.json
before selecting this mystyle in the Browse styles > area of Site Editor.
I have then added a new woff2 font to the
settings.typography.fontFamilies
section ofmystyle.json
as described here.However, the changes I make to that file seem to be ignored by the WP Site Editor.
It seems WP is no longer checking my
mystyle.json
style so I would like to know where/how to add my new fonts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Location of the current theme json file for Site Editor for adding custom font?’ is closed to new replies.