Answer the question
In order to leave comments, you need to log in
How to remove extra CSS?
I wanted to optimize the site, speed up loading. I looked at PageSpeed Insights for extra CSS files. Those files that were in the directory of the site itself, I deleted, accelerated. But what to do with those files that my site refers to, how to remove them or prohibit links to them. Help me please
Answer the question
In order to leave comments, you need to log in
hmm... it would be nice to clarify the question, since I saw several nested questions here:
How to remove extra CSS?
Dust Me Selectors
CSS usage
But what to do with those files that my site refers to, how to remove them or prohibit links to them.
wp_dequeue_style()
remove Use the whois utility to find the email of the owner of the domain where the extra css is located. You can also use online services, for example https://www.nic.ru/whois/.
In a free form, make a request to this e-mail, to remove excess css, indicating a link to it. If the owner refuses, offer to at least rename the css file. With a 99% probability, the domain owner will not understand Russian, so the request must be made in English.
There is also an easier method. Find your website template and remove unnecessary css from there. But by doing this, you risk breaking the layout of your site. Make backups and go for it :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question