Wrong fonts with posts added trough native wordpress blocks

Hi there,

I selected the font Prometo for my website https://warmtevanleeuwarden.nl and it’s working fine with the pages which are created with Pro, but my client wants to create posts with Wordpess blocks (so no with Pro), but then it serif fonts is shown. For example this post: https://warmtevanleeuwarden.nl/leeuwarden-krijgt-toegang-tot-meer-duurzame-aardwarmte/

Does anyone know what’s wrong? I recently updated to the newest version.

Thanks!

Jan

Hello Jan,

Thanks for writing in! You are having this issue because you have inserted a broken CSS code. Please remove this custom CSS code from Pro > Theme Options > CSS:

p {
    font-family: 'Prometo'!important;
}
p, .p {
    font-family: 'Prometo',sans-serif!!important;
}

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

Ik removed the code, but the right font isn’t showing with the posts.

Hello Jan,

When I check your post I am seeing this.

By the way, please remove this custom JS code because it is not a valid JS code.

<link rel="stylesheet" href="https://use.typekit.net/hcu6cmd.css">
  <link rel="stylesheet" href="https://use.typekit.net/xhf7qvq.css">

It seems that you are trying to use a Typekit font. Please use the Font manager in adding your Typekit font. You may need to review our documentation to know how you can add a Typekit font to the Font manager:

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.