This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp
Hello,
When I test my site performance I get this:
There are 6 static components without a far-future expiration date.
https://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C700%2C300italic&ver=bb33754b0336072a8565af01bce314cb
https://fonts.googleapis.com/css?family=Roboto%3A100%2C400%2C500%2C700%2C300&subset=latin%2Ccyrillic-ext&ver=bb33754b0336072a8565af01bce314cb
https://fonts.googleapis.com/css?family=Muli&ver=bb33754b0336072a8565af01bce314cb
https://fonts.googleapis.com/css?family=Muli|Muli
https://fonts.googleapis.com/css?family=Open%20Sans:300
I only use the Muli font family, so I would like to remove open sans, roboto, open sans:300
Why is there two Muli being received?
How can I clean this up?
Thanks!
just making sure I will get email notification my checking the box which for some reason is unchecked by default and this happens to me all the time I get frustrated. why can you not just have it checked by default?
Hello,
You need edit the file wp-content/themes/royal/framework/theme.php and comment the code `if(!function_exists(‘et_enqueue_gfonts’)) {
function et_enqueue_gfonts() {
wp_enqueue_style(“font-open-sans”,et_http().”fonts.googleapis.com/css?family=Open+Sans:300,400,700,300italic”);
wp_enqueue_style(“font-roboto”,et_http().”fonts.googleapis.com/css?family=Roboto:100,400,500,700,300&subset=latin,cyrillic-ext”);
}
}
add_action( ‘wp_enqueue_scripts’, ‘et_enqueue_gfonts’, 40);`
Regards,
Eva Kemp.
can I also make it update friendly?
by putting something in my child theme?
Thank you!
by the way, should I use the @import for my style.css or should I use the one recommended by wordpress where I enque style in function.php? https://codex.wordpress.org/Child_Themes
We had problems before with the shopping cart when using the @import.
I have now these ones left:
https://fonts.googleapis.com/css?family=Muli&ver=bb33754b0336072a8565af01bce314cb
https://fonts.googleapis.com/css?family=Muli|Muli
https://fonts.googleapis.com/css?family=Open%20Sans:300
1. Why is there two Muli?
2. And how can I get rid of the last open sans:300 ?
3. Can I also make it update friendly? by putting something in my child theme in functions php?
4. Should I use the @import for my style.css or should I use the one recommended by wordpress where I enque style in function.php? https://codex.wordpress.org/Child_Themes
We had problems before with the shopping cart when using the @import.
Hello,
Please show a screenshot where you see those fonts.
Thank you.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up