Google Fonts
-
Hi,
When I enabling minify, the texts lose their font weight.
Investigating I have seen that the URL of Google Fonts is modified by WPO.The URL of my Theme is:
https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;700&display=swapBut WPO changes it to:
https://fonts.googleapis.com/css?family=Poppins:wght@300;600;700&display=swapAs you can see, there is a little difference between the two URLs: css and css2.
If you visit both URLs you will see that the WPO link only shows font-weight: 400.I had to change the url in:
./wp-content/plugins/wp-optimize/minify/class-wp-optimize-minify-fonts.php – line 105.I’m writing here because I think it’s a plugin bug. I would appreciate if you could fix this isuue in the next update.
Thanks.
- The topic ‘Google Fonts’ is closed to new replies.