- This topic has 10 replies, 3 voices, and was last updated 7 years, 1 month ago by
Tom.
-
AuthorPosts
-
February 14, 2019 at 2:49 am #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
KatiFebruary 14, 2019 at 5:37 am #810192David
StaffCustomer SupportHi there,
as per the other topic i would need to see the site to see why the font isn’t loading.
February 14, 2019 at 11:13 pm #810982Katharina
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.February 15, 2019 at 4:20 am #811139David
StaffCustomer SupportOK 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 theWP_Foot
On display rules tab set this to Entire Site.One less plugin 🙂
February 15, 2019 at 6:27 pm #811687Katharina
I deactivated almost all plugins. I left only a few but it’s still not loading the fonts. What else could I do.
ThanksFebruary 16, 2019 at 4:37 am #811866David
StaffCustomer SupportWhat happens if you de-activate the child theme?
February 16, 2019 at 6:38 am #811906Katharina
I deactivated it but still same problem
February 16, 2019 at 6:42 am #811911David
StaffCustomer Supportsorry this is a pain but there is a lot of trial and error involved. Can you disable any code snippets?
February 16, 2019 at 9:24 am #812165Tom
Lead DeveloperLead DeveloperHi there,
In code Snippets, you have this snippet:
show-all-google-fontsThe 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.
February 16, 2019 at 9:16 pm #812459Katharina
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
KatiFebruary 17, 2019 at 8:26 am #812840Tom
Lead DeveloperLead DeveloperGlad we could help 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.