Wordpress LScache Plugin: Minify css breaks site
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello i made a website using OceanWP + Elementor because i thought they would fit together. Im trying to speed up my website with LiteSpeed Cache plugin and when trying to minify the css file, my whole site breaks, it gets like fully messed up. I investigated that these css files are causing most of the issues. When i exclude these the site looks OK but still not good. Everything mostly looks good except navbar is messed up and some fonts. How could i fix this? wp-content/themes/oceanwp/assets/fonts/fontawesome/css/all.min.css?ver=5.15.1 wp-content/themes/oceanwp/assets/css/style.min.css?ver=3.0.3 wp-content/plugins/elementor/assets/css/frontend.min.css?ver=3.3.1 wp-content/uploads/elementor/css/post-160.css?ver=162893653 This topic was modified 1 year, 3 months ago by miimie. Hi, so if you turn off CSS minify , everything is good ? the last one in your list , try use string post- to exclude , some other page made by elementor would have different post ID in file name Yes when i turn off CSS minify, everything is perfect. My site looks fine now but all the fonts are missing and navbar is messed up. https://gyazo.com/932a32e7c667f8d525a503017043c734 I have no idea what to do anymore. Excluded and investigated every CSS file Minifying JS and trying every other setting doesnt break anything. Its just CSS Minify that breaks the whole site. When excluding those CSS files, it looks OK, but the fonts are lost and the navbar/site-header looks weird like shown in the upper post Gyazo link. I have no idea where to start. Try other caching plugin? Theme? Had no problems when made website without Elementor. Should i make the Navbar with elementor too? try use wp-content wp-includes as exclude string , see how it goes , if it works fine with font , then remove one of them , see which one was , and then keep narrowing wp-content is where my problems are. Kept narrowing and excluding these files, makes my site look little bit better, but still font missing and some missing icons in reviews etc. How to narrow more? /wp-content/themes/oceanwp/assets/css/woo/woo-quick-view.min.css /wp-content/uploads/elementor/css/post-160.css /wp-content/themes/oceanwp/assets/fonts/fontawesome/css/all.min.css /wp-content/themes/oceanwp/assets/css/style.min.css /wp-content/themes/oceanwp/assets/css/woo/woo-mini-cart.min.css /wp-content/plugins/elementor/assets/css/frontend.min.css /wp-content/themes/oceanwp/assets/css/woo/woocommerce.min.css does use wp-content fix the font ? if that so , try use wp-content/plugins wp-content/themes as CSS exclude , save and purge all , and see how it goes No. Now i have all these on my CSS excludes. Adding just those you mentioned made the site little bit better. Got my icons and stuff like that back. But fonts are missing. Fonts that i set in Theme Customizer and fonts, font sizes, colors made in Elementor. Both still missing. So TLDR: Looks like everything on my site is fine EXCEPT the font settings. /wp-content/themes/oceanwp/assets/css/woo/woo-quick-view.min.css /wp-content/uploads/elementor/css/post-160.css /wp-content/themes/oceanwp/assets/fonts/fontawesome/css/all.min.css /wp-content/themes/oceanwp/assets/css/style.min.css /wp-content/themes/oceanwp/assets/css/woo/woo-mini-cart.min.css /wp-content/plugins/elementor/assets/css/frontend.min.css /wp-content/themes/oceanwp/assets/css/woo/woocommerce.min.css wp-content/plugins wp-content/themes okay , please create a ticket by mail to support at litespeedtech.com with reference link to this topic our staffs will investigate it further
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference