Support » Fixing WordPress » How to add fonts in Gutenberg?

  • Hello,
    I put two new fonts in wordpress through a plugin, but I can’t see them in the block editor. They appear in “typography” (I’m using the astra theme), but when I select “info box” in gutenberg I can’t modify the text for either font. Is there a solution to this?

    • This topic was modified 10 months, 1 week ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Which plugin were you using for that?

    Custom Fonts is the plugin name.

    A strange thing happened. I switched to the classic editor and in “text” I searched for the font tag and found “prefixFontFamily”: “Default”. The font I wanted was “Brusher”, so I switched to it and it worked, but it took out the bone icon I had placed before and after I tried to get back to gutenberg it was all broken. Only the message appears: “This block contains unexpected or invalid content.” Help me please.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    In that case, I recommend asking at https://wordpress.org/support/plugin/custom-fonts/ so the plugin’s developers and support community can help you with this.

    Okay. If that does not work, do you have another solution to adding these fonts to gutenberg?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    No, usually I recommend this plugin, but I don’t use it myself.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add fonts in Gutenberg?’ is closed to new replies.