Hello,
Thank you for this post.
This is something that nobody can help you with until they know what CSS code should be removed. But it’s better to keep everything and it’s enough to make CSS inline and minify all the CSS files.
(Elementor > Settings >Advanced:https://prnt.sc/rqt96t).
There are plugins such as Asset CleanUp: Page Speed Booster that can help make this easier. Here are a few guides which might help you to do this:
https://wittysparks.com/how-to-use-wp-asset-cleanup-for-removing-unused-css-and-javascript-files/
https://wpspeedmatters.com/remove-unused-css-from-wordpress/
Also, here are some helpful links to find useful resources:
https://www.which-addon.com/
https://web.facebook.com/groups/elementorandwhichplugin/
The following article could also be helpful: How to Speed Up a Slow Site With Elementor
I hope this clarifies your doubt.
Kind regards and stay safe,
Said
Thank you said! Maybe I was not clear enough… I want to remove /plugins/elementor-pro/assets/css/frontend.min.css completely.
The normal dequeue style not working.
function disable_styles() {
wp_dequeue_style(‘elementor-pro’);
wp_deregister_style(‘elementor-pro’);
}
add_action(‘wp_enqueue_scripts’, ‘disable_styles’, 100);
-
This reply was modified 5 years ago by
wpninja3.
Hi guys, any updates on this topic ? I am also interested by the solution.
Thanks
Hi! I’m behind an answer as well.