[Resolved] Heading in Typography doesn't change to the chosen font

Home Forums Support [Resolved] Heading in Typography doesn't change to the chosen font

Home Forums Support Heading in Typography doesn't change to the chosen font

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #810083
    Katharina

    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

    #810192
    David
    Staff
    Customer Support

    Hi there,

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

    #810982
    Katharina

    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.

    #811139
    David
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #811687
    Katharina

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

    #811866
    David
    Staff
    Customer Support

    What happens if you de-activate the child theme?

    #811906
    Katharina

    I deactivated it but still same problem

    #811911
    David
    Staff
    Customer Support

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

    #812165
    Tom
    Lead Developer
    Lead Developer

    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.

    #812459
    Katharina

    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

    #812840
    Tom
    Lead Developer
    Lead Developer

    Glad we could help ๐Ÿ™‚

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.