Hi,
I am getting this result when testing the page speed load. I see that multiple Play fonts are being loaded along with Open Sans and Roboto. Is that because I use some 3rd party widgets or can it be removed and load only the Font I use which is Google Play font? If yes, how can I get rid off those unwanted fonts, please?
There are 5 CSS files served from fonts.googleapis.com. They should be combined into as few files as possible.
https://fonts.googleapis.com/css?family=Open+Sa … italic%2C400italic%2C600italic%2C400%2C600%2C700
https://fonts.googleapis.com/css?family=Play%3A%2C300%2C400%2C700
https://fonts.googleapis.com/css?family=Play%3A400%2C400italic%2C700%2C700italic%2C300italic%2C300
https://fonts.googleapis.com/css?family=Play%3A400%2C700
https://fonts.googleapis.com/css?family=Roboto%3A500%2C400italic%2C700%2C900%2C500italic%2C400%2C300
Thank you
Hello lbartosek,
I have inspected your entire website and I noticed that you are using the Google Play font for the whole of your website, like this -> https://www.screencast.com/t/aa106d2pxBP. I do not understand why do you mean unwanted font since you use it throughout your site? If you want to change it, you should select the default font on your Theme panel and the theme will display only the Open Sans and Roboto, like this -> https://www.screencast.com/t/vwOHsBm7
If is not what you mean, please provide more details so I will be able to provide a more accurate response.
Thanks for your understanding!
Hello Catalin,
That’s right. I am using only Google Play font and that’s what I would only have loaded but I don’t know why it’s loading Open Sans and Roboto if I don’t use those two fonts at all as in my whole theme font setting I only have Google Play font set instead of default. Also I am just wondering why Google Play is being loaded 3 times instead of just once. I believe that you now understand what I mean.
Thank you
Hello lbartosek,
Please keep in mind that the Roboto and Opens Sans fonts are used default by the theme and there is no solution to disable them. If you want to make deeper changes in this regard, you should check the td_config.php core files and from here you should change the default theme fonts which are Open Sans and Roboto with your desired one, like this -> http://screencast.com/t/YXUNUqxE. Also, if you want to remove the Roboto Google Font you can try to remove from there, clear all your caches and check the results. For more information about this regard, please consult the following topic here -> https://forum.tagdiv.com/topic/do-i-really-need-to-change-all-the-text-fields-for-fonts/
Hope this helps!
Thanks for your understanding!
Hello,
thank you very much for this kind of solution. I have tried also the other option I found in the mentioned article as I prefer to make such changes via function.php as I use child theme but I am still unable to get rid off the roboto font for some reason.
https://fonts.googleapis.com/css?family=Play%3A%2C300%2C400%2C700
https://fonts.googleapis.com/css?family=Play%3A400%2C700
https://fonts.googleapis.com/css?family=Roboto:300&lang=en
At the moment I have uncommented only the default fonts used by the theme in td_config.php file but I am not sure why Roboto is still being loaded.
Thank you
There is no such code in v7.7 td_config.php
How can i remove the google font?
-
This reply was modified 9 years by
shariarkuasa.
Hello all,
For more references about how you can change or remove the default theme fonts, please consult our topic here -> https://forum.tagdiv.com/topic/do-i-really-need-to-change-all-the-text-fields-for-fonts/
Thanks for your understanding!
