• Resolved LanceHaverkamp

    (@lancehaverkamp)


    After converting a ttf to woff, I added the font, got the success message, but the new font does not appear in the manage fonts list. Same results every time. I tried disabling all other plugins. The new font is in the assets/fonts folder, and it’s listed in the theme.json file. But it appears nowhere, the new font does not appear in the manage fonts, nor can I find it in the block theme list of available font families.

    Using WordPress 6.2.1, running a Twenty Twenty-Three child theme, on a cPanel host.

    Follow-up: I tried another font, just in case my conversion was bad. No success, the second font, an off-the-shelf woff this time, didn’t work either.

    • This topic was modified 11 months, 1 week ago by LanceHaverkamp.
    • This topic was modified 11 months, 1 week ago by LanceHaverkamp. Reason: added follow-up

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matias Benedetto

    (@mmaattiiaass)

    Hi @lancehaverkamp, thanks for reporting this issue.

    If the font families are being added correctly to yourtheme.json file and the font assets are being added to the assets folder of the theme, as you mentioned, I think you could have Global Styles overriding the font families definition from the theme.json file.

    To get rid of those definitions overriding font families you can try resetting Global Styles to default with the option featured in the screenshot below. Be careful with this because you will lose the global style changes you made, such as color palettes, etc. To avoid losing that you can run the “override” option of the plugin first to persist the changes you made to the theme in the theme files.

    After that try adding your local font again.

    Let me know if that works for you!


    Thread Starter LanceHaverkamp

    (@lancehaverkamp)

    Clicking the overwrite user changes, as theme changes button solved the problem–though it, oddly, erased all the existing Twenty Twenty-Three type families (including what was currently being displayed). It probably shouldn’t do that, but it’s easy to add them back in.

    Plugin Author Matias Benedetto

    (@mmaattiiaass)

    Good to know if could fix the problem. Thanks for reporting it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘local font not added’ is closed to new replies.