css




Wordpress LScache Plugin: css

Last Updated on: Wed, 15 Apr 2026 00:00:02
hi, adding new css code in child theme, nothing change on my site. font-weight: 500 overflow: hidden position: relative line-height: 1.3em max-height: 2.6em text-align: justify margin-right: -1em padding-right: 1em open inspect element only have line-height: 1.3 font-weight: 500 the other code is missing. if i turn off litespeed cache, it work fine. need help. thanks. Hi, leekianseng. When you added the new CSS to the child theme, did you clear the cache? Try purging the cache and check again. If you are still having a problem, please provide some additional details, such as: Do you have CSS minification or CSS combination enabled? Is the new CSS in a separate .css file, or is it added directly to one of the child themes template php files? Can you share the URL so that we may have a look? Hopefully clearing the cache will solve the problem, but if not, let us know and well do what we can to help. i added the new css yesterday. clear browser cache and ls cache purge all, still nothing change. 1) Do you have CSS minification or CSS combination enabled? just enable CSS minification. i also test turn off all option in Optimization Settings, still not working. 2) Is the new CSS in a separate .css file, or is it added directly to one of the child themes template php files? i think is in a separate .css file. https://imgur.com/a/qg9Um here is my site url: https://www.emporium.my/ you can see the ads/shop title is 3 line, i added css make it to 2 line with dotdotdot, but it doesnt appear to load the updated style. litespeed Version 1.6.2.1 this code is added by hosting company in the .htacess # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## RewriteEngine on CacheLookup on RewriteRule . ? [E=Cache-Control:no-autoflush] RewriteRule min/ w+ .(css|js) ? [E=cache-control:no-vary] ### marker CACHE RESOURCE start ### RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts) .php ? [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker FAVICON start ### RewriteRule favicon .ico$ ? [E=cache-control:max-age=86400] ### marker FAVICON end ### ### marker CORS start ### Header set Access-Control-Allow-Origin ### marker CORS end ### ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## # END LSCACHE thanks. update: enable CSS minify and CSS combine, is working fine now. but its come another problem > CSS COMBINE crash shop page layout. i have try to set CSS Excludes like this, still not working. /wp-content/themes/themename/style.css /wp-content/themes/themename-child/style.css how to solve this issue? https://www.emporium.my/shop/ shop page and product page both crash. after enable css combine > https://imgur.com/a/P7PRJ I took a look at your site, and it looks nice to me ? have you fixed the problem? still the same problem. enable css minify, wont load the updated style. enable css minify and css combine, work but crash woocommerce layout. turn off all Optimization Settings, still not working. only if turn off litespeed cache, css working fine. Is there any solution to this problem? thanks. purged the CDN cache solved this problem. Oh! I didnt realize you were using a CDN. Id also suggest that you update the LSCache plugin to the latest version, if you havent already. Thanks for marking this Resolved. Please let us know if you encounter any other issues!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference