Gutenberg theme.json showing fallback fonts.
-
I’m trying to get fonts from my
assets/fonts/folder to show up in Gutenberg’s full site editor. I was able to make them selectable options, but what displays instead are the defined fallback fonts. I’m sure I’ve linked them correctly, though."fontFamilies": [ { "fontFamily": "'Baloo Da 2', cursive", "name": "Nav - Baloo Da 2", "slug": "baloo-da-2", "fontFace": [ { "fontFamily": "'Baloo Da 2', cursive", "fontWeight": "700", "fontStyle": "normal", "fontStretch": "normal", "src": [ "file:./assets/fonts/balooda2/balooda2-bold.ttf" ] } ] }, { "fontFamily": "'Saira', sans-serif", "name": "Port Categ - Saira", "slug": "saira", "fontFace": [ { "fontFamily": "'Saira', sans-serif", "fontWeight": "500", "fontStyle": "normal", "fontStretch": "normal", "src": [ "file:./assets/fonts/saira/saira-medium.ttf" ] } ] },What am I doing wrong?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Gutenberg theme.json showing fallback fonts.’ is closed to new replies.