Archived topic
Page speed and an unused font
1 reply · Started by Colin on June 2, 2019
Hi,
I've been trying to improve my sites speed and PageSpeed Insights keeps referencing a font that I had at one point added locally, and then thought I had removed.
Its saying its a render blocking resource but I can't find it anywhere. When I switch to the 2019 theme and run the page speed test, its not there.
Thanks,
Colin
Hi there,
It seems it's referencing a font named "Hind". Do you have that set in your Typography settings anywhere?
One way to make sure GeneratePress doesn't call to Google for fonts is to use this function:
add_action( 'wp_enqueue_scripts', function() {
wp_dequeue_style( 'generate-fonts' );
}, 100 );