Try one of the many optimization plugins. Here is section in a longer article about it: https://wordpress.org/documentation/article/optimization/#minimizing-plugins
@garycook304gmail are you certain the solution to the problem you are facing is minified css?
Thread Starter
gack304
(@garycook304gmail)
Thank you for the replies.
@magaliechetrit when i wrote this it was but i have since been on to wp rocket and regenerated critical css and now i am getting the remove unused css. it appears to be a list of google fonts that i think are for different languages. i have tried various plugins, some completely mess up the site visually on the front end, the one i am using now is wp rocket but it never seems to completley resolve the issue which is why i am looking to try and defer it so it is not above the fold or if it is not needed get rid og it alltogether.
I don’t recommend solving the problem with new plugins.
Not knowing precisely what the problem is, the best way to diagnose the problem is to turn off all the plugins and then turn on a plugin at a time while checking for that problem.
Please contact the WP Rocket support, you have bought it and they can help you (I have already had good experiences with them): https://wp-rocket.me/support/
Please note that WP Rocket is a commercial product. Questions about commercial products are not allowed here in the forum.
Thread Starter
gack304
(@garycook304gmail)
yes i don’t want to bloat the site with plugins if i can help it. this is a small snippet of the list of fonts but it’s a much much longer list than this. it literally goes on and on. I can’t see a href lang code anywhere so i don’t know why this css has appeared in the head section.
/* cyrillic-ext */
@font-face {
font-family: ‘Raleway’;
font-style: italic;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptsg8zYS_SKggPNyCg4QIFqPfE.woff2) format(‘woff2’);
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: ‘Raleway’;
font-style: italic;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptsg8zYS_SKggPNyCg4SYFqPfE.woff2) format(‘woff2’);
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
font-family: ‘Raleway’;
font-style: italic;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptsg8zYS_SKggPNyCg4QoFqPfE.woff2) format(‘woff2’);
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: ‘Raleway’;
font-style: italic;
font-weight: 100;
Thread Starter
gack304
(@garycook304gmail)
@threadi, Thank you. I am not looking for support for wp rocket, i would just like for someone to point me in the direction of resolving this issue through maybe defering the css or removing it if possible
Disable WP Rocket and check out the article I linked above. There are some possibilities mentioned.