Title: Generated Critical CSS doesn&#8217;t work
Last modified: March 19, 2020

---

# Generated Critical CSS doesn’t work

 *  Resolved [raindeer2](https://wordpress.org/support/users/raindeer2/)
 * (@raindeer2)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/)
 * Im using the critical css feature. The css is generated as it should and I can
   see the css in the litespeed-optm-css-rules tag, but the page rendered with the
   critical css is just half-styled and ugly (see image linked below). Any advice?
   
   Im using elementor.
 * [https://drive.google.com/open?id=1CCVA3UrsaaQO1xb4r-0K7lZCbvnBouIC](https://drive.google.com/open?id=1CCVA3UrsaaQO1xb4r-0K7lZCbvnBouIC)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgenerated-critical-css-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [raindeer2](https://wordpress.org/support/users/raindeer2/)
 * (@raindeer2)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/#post-12560226)
 * FYI, critical css is disabled on the site now since it creates an ugly flash 
   if enabled.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/#post-12560512)
 * Hi,
 * Please check in your HTML source , see if CCSS rule is there ?
 * if not , please enable advanced [debug log](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:debug)
 * then purge all , purge CSS, access your page.
 * after that check the log, it should state why CCSS didn’t generate.
 * Best regards,
    -  This reply was modified 6 years, 2 months ago by [qtwrk](https://wordpress.org/support/users/qtwrk/).
 *  Thread Starter [raindeer2](https://wordpress.org/support/users/raindeer2/)
 * (@raindeer2)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/#post-12560554)
 * The css is generated. Please read I write: “The css is generated as it should
   and I can see the css in the litespeed-optm-css-rules tag”
 * That is not the problem, the problem is that the page renders very ugly with 
   the generated css. See the screenshot for how it looks when rendered with the
   generated critical css.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/#post-12561191)
 * Hi,
 * Could you please try “Separate CCSS Cache URIs” ? just try on your home page 
   or the page where you see the error, then purge all , purge CCSS (purge all doesn’t
   purge CCSS, you need to purge it separately)
 * then check again ?
 * I have seen in some rare case that one page’s CCSS overlapped other page when
   they are same type of post but built with different CSS.
 * Best regards,
 *  Thread Starter [raindeer2](https://wordpress.org/support/users/raindeer2/)
 * (@raindeer2)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/#post-12561778)
 * Interestingly that seems to fix it for some pages but not others. The top menu
   is the same on all pages so that should be the same right?
    An advice on how 
   to debug this further?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/#post-12565363)
 * Hi,
 * Please try “Separate CCSS Cache Post Types” option.
 * Best regards,

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Generated Critical CSS doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/generated-critical-css-doesnt-work/#post-12565363)
 * Status: resolved