Site logo

Archived topic

Heading in Typography doesn't change to the chosen font

10 replies · Started by Katharina on February 14, 2019

Viewing posts 1–11 of 11

Hi,
I want to choose a font like "Kaushan Script" in H1-h6 but it no matter what font I choose it is changing but not showing the right font.

Thanks
Kati

Hi there,

as per the other topic i would need to see the site to see why the font isn't loading.

I’ve send a temporary user login link trough the Account Issue form
And mentioned this and my other topic that needs the user login as well.

OK so the scripts required for the customizer font controls is not loading due to an error. Which would generally be a plugin conflict. You can try disabling plugins to see which one is conflicting.

I would begin with the header footer plugin - there is actually no need for this. Instead:

Go to Appearance > Elements. Create a new Hook element.
Add your scripts in to the content, select the hook, in your current case it is the WP_Foot
On display rules tab set this to Entire Site.

One less plugin :)

I deactivated almost all plugins. I left only a few but it's still not loading the fonts. What else could I do.
Thanks

What happens if you de-activate the child theme?

I deactivated it but still same problem

sorry this is a pain but there is a lot of trial and error involved. Can you disable any code snippets?

Hi there,

In code Snippets, you have this snippet: show-all-google-fonts

The actual snippet in there removes the request to Google to display their fonts:

add_action( 'wp_enqueue_scripts','tu_remove_google_fonts', 10 );
function tu_remove_google_fonts() {
    wp_dequeue_style( 'generate-fonts' );
}

If you remove that script, the fonts should work.

Thanks David and Tom,
I found this advice on a website with tips for Generatepress, they gave the advice to add this snippet. Now I know what it is for. It's properly not a snippet I need. It's deactivated and fonts are working.

Thanks again
Kati

Glad we could help :)

This archived topic is closed to new replies.