Archived topic
Autoptimize taking out fonts across the site
10 replies · Started by Vinod on January 8, 2020
Hello.
I has low YSLOW scores and was suggested to use Autoptimize. I did. Score improved immediately.
(That ticket here https://generatepress.com/forums/topic/low-yslow-score-an-f-on-two-fronts/#post-1125140)
But the plugin took out the theme's fonts across the site, despite ‘Google Fonts’ being set to ‘Leave as is’, recommended on https://generatepress.com/fastest-wordpress-theme/. I rolled the plugin back and everything was back to normal.
Another user of Autoptimize had a similar issue. https://wordpress.org/support/topic/autoptimize-removed-font-on-main-page/
The solution proposed there was to add ‘a.htheme_no_logo’ to CSS optimization exclusion list.
I tried doing that and it didn't work. So I've disabled the plugin currently.
Is there a generatepress or theme specific exclusion which I should be adding?
Thank you
Hi there,
never experienced this issue before - was it just the fonts that were affected ?
Yeah. Just the fonts.
This is how it looked with Autoptimize active.
https://ibb.co/hmpD8vS
Could you leave Autoptimize enabled so i can take a look?
Enabled now. Fonts are gone. I'd like to roll back as quickly as possible please. Thank you.
Just noticed you also have the Siteground (SG) Optimizer plugin enabled - can you disable that, then clear the Autoptimize cache and let me know.
That was quick :)
Did exactly that. Autoptimize on. SG off. Fonts are back.
I'm guessing this is sorted?
Pagespeed and YSlow scores are great too. Life's good again.
Yep - looks good to me
Great to see the Bold Site being used for a big site :)
Thank you David.
Have a great day ahead :)
You're welcome - and you too!