This topic has 6 replies, 2 voices, and was last updated 8 years, 4 months ago ago by Robert Hall
Dear 8theme team,
i’m facing multiple issues with google fonts which are slowing down my site based on GTmetrix performance reports:
1. I noticed that multiple instances of the same fonts are being requested when loading the home page. How can this be optimized in the theme files?
2. I have set the whole site to use font Raleway through the Theme Settings > typography page (body, headers, etc.). However i noticed that several other fonts are being loaded from googlefontapis as well (Open Sans, Roboto, Droid) while i’m not using them. Which elements of the theme are using those? How can i get rid of theme?
3. Google fonts seem to be the slowest elements to load on my site. would it store them on my server instead ? if so how to modify the theme in order to load the locally stored fonts instead of the ones at Google ? (i noticed a fonts subfolder in Royal, but i don’t know how to use it.
Thanks for your help.
Hello,
1, 2) Please provide us with wp-admin and FTP credentials in Private Content.
3) You can use your own fonts via @font-face. Read more here:
https://css-tricks.com/snippets/css/using-font-face/
Regards,
Robert Hall
Thanks for your feedback.
find below the requested information.
Regards,
jacques
Hello,
Navigate to Dashboard->Revolution Slider->slider settings and remove fonts there. See screenshot: http://prntscr.com/c6d4ys
Don’t forget to clear all cache.
Regards,
Robert Hall
Thanks a lot Robert,
I remove fonts from Revolution Slider and Punch Font and it worked.
On top I noticed that 2 more Google fonts (Open Sans, Roboto) were loaded by default in the Royal>Framework>theme.php file, so I also removed them.
On the other hand my site no longer renders Raleway font in headings although I kept this setting unchanged in the theme options>typography page and Raleway still gets loaded from google.
Can you help me to fix this last point?
Thanks & regards
Jacques
Hello,
I’ve added this code in Theme Options->Custom CSS->Global Custom CSS. Please check.
h1, h2, h3, h4, h5, h6{
font-family: Raleway, sans-serif;
}
Regards,
Robert Hall
Tagged: google font, optimization, page load, performance, speeding up, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up