Homepage › Forum › Product Support › Jhana › Host Google fonts locally
- This topic has 13 replies, 2 voices, and was last updated 2 years ago by
Jackie.
-
AuthorPosts
-
2 years, 1 month ago #30549
Hi there
I decided to host Google fonts locally, and I'm using the plugin "Disable & Remove Google Fonts" to make sure they are really loaded locally. While the fonts are displayed correctly on some pages (e.g. "home", "about me"), they don't on "blog" or "classes" - an alternate font is displayed. Am I missing something in the theme settings?
Thanks in advance for your help.
Katharina
2 years, 1 month ago #30553Hi.
Thank you for contacting us.
Yes, we are using the google font when you change the font in the theme options. To use the local font, please give us your site access info again. We need access to your site to help you check it.
Thanks.
2 years, 1 month ago #30563This reply has been marked as private.2 years, 1 month ago #30568Hi.
I have checked your blog page, it has the same font as your home page. https://prnt.sc/_KpTm191sWdN
What is the issue with your blog page? Can you give me some screenshots about that?
Thanks.
2 years ago #30632Hi Jackie
Thanks for checking. Everything's perfect on your screenshot. However, here it is not.
I checked again
- with Safari > please see the screenshot. It's a different (alternate) font on the blog page.
- with Firefox > alternate font on all pages
- with Chrome > everything works, including on the blog page.
Thanks!
2 years ago #30645Hi.
I have checked and fixed that issue.
The issue is from the Rocket cache plugin. After disabling that plugin, everything works fine.
Please recheck it.
Regards.
2 years ago #30661Hi Jackie
Thanks for checkin. You're right, everything's working just fine right now.
However, disabling WP Rocket is not really an option. Any option to make that work with WP Rocket being active?Thanks
Katharina2 years ago #30667Hi.
That means you need to clear the cache if you don't see the change at the front end.
Now you can activate the WP Rocket plugin.
Please recheck it.
Regards.
2 years ago #30680This reply has been marked as private.2 years ago #30699Hi.
We have used this file: https://yogarina.ch/wp-content/uploads/yolo-custom-css/custom-style.css to inline the custom CSS from the theme option to that file. If you remove that file, the custom CSS in the theme option will not load to the front-end.
Your previous issue is because the custom-style.css file doesn't exist.
I have checked that file, and it was put into to correct folder for the style. As you see, everything works fine when you enable WP Rocket.
Please recheck it.
Regards.
2 years ago #30717Hi Jackie
Thanks for your support, looks good now.
I also tried to host the awesome fonts locally, but in my WordPress the Theme Editor is missing and I don't know how to integrate the awesome fonts locally on my site. Can you help me with that? What information do you need for this task?
Thanks
Katharina2 years ago #30719Hi.
Can you explain more about the missing icon in the Theme Editor? Do you mean the edit page with Elementor or where? Please let us know more about that.
The site is loading the font-awesome icon from the Elementor plugin.
https://yogarina.ch/wp-content/plugins/elementor/assets/lib/font-awesome/css/fontawesome.min.css
Please recheck it.
Regards.
2 years ago #30722Hi Jackie
Thanks for your reply. So everything's working fine, no icon is missing. However, I don't want the site to load the icons from anywhere but my local server (for data privacy reasons). So my question is: How can I make sure that the site loads the locally hosted Awesome Fonts?
Thanks
Katharina2 years ago #30726Hi.
The FontAwesome has been integrated into the Elementor plugin. So it will get the font from the plugin source code. Don't worry about that.
Thanks.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.
