Title: Broken CSS
Last modified: November 17, 2019

---

# Broken CSS

 *  [Micheleficara](https://wordpress.org/support/users/micheleficara/)
 * (@micheleficara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/)
 * hello we have a problem once the plugin for automatic generation of crticalcss
   is activated the page is loaded broken on top menu (not visibile), how can we
   solve the problem?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbroken-css-15%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Micheleficara](https://wordpress.org/support/users/micheleficara/)
 * (@micheleficara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12143114)
 * screenshot 1 : [https://assodigitale.it/wp-content/uploads/2019/11/Schermata-2019-11-17-alle-18.41.17-scaled.jpg](https://assodigitale.it/wp-content/uploads/2019/11/Schermata-2019-11-17-alle-18.41.17-scaled.jpg)
 *  Thread Starter [Micheleficara](https://wordpress.org/support/users/micheleficara/)
 * (@micheleficara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12143123)
 * screenshot 2: [https://assodigitale.it/wp-content/uploads/2019/11/Schermata-2019-11-17-alle-18.41.34-scaled.jpg](https://assodigitale.it/wp-content/uploads/2019/11/Schermata-2019-11-17-alle-18.41.34-scaled.jpg)
 * in screenshot 1 you can see white area, and in screenshot you can see broken 
   layout and css without left sidebar
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12143290)
 * I see you have mod_pagespeed active, which does it’s own optimization which I
   have seen conflicting with AO CCSS before, can you try deactiving mod_pagespeed?
 *  Thread Starter [Micheleficara](https://wordpress.org/support/users/micheleficara/)
 * (@micheleficara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12143525)
 * can you explain to me what kind of conflict it is? I cannot disable Mod_pagespeed
   as it is essential to speed up the site as prescribed by Google. Can you give
   me some additional information on some alternative solution on how to handle 
   this issue?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12143535)
 * The problem is both AO and mod_pagespeed try to speed up the site and so optimize
   CSS (and more) and I have seen mod_pagespeed removing CSS that AO adds. Can’t
   be 100% sure though, would need to see the site broken for that. If you have 
   a staging site we might break stuff there so we can confirm (or rule out) that
   this indeed is what’s happening?
 *  Thread Starter [Micheleficara](https://wordpress.org/support/users/micheleficara/)
 * (@micheleficara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12144756)
 * thanks for the answer but unfortunately I don’t have a staging site and even 
   if it were I can’t disable mod_pagespeed to do tests … then I’ll have to take
   this incompatibility into account and disable the plugin …
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12144790)
 * too bad, but indeed if mod_pagespeed cannot be disabled (or reconfigured to leave
   CSS alone) then the only option is to disable AO CCSS.
 *  Thread Starter [Micheleficara](https://wordpress.org/support/users/micheleficara/)
 * (@micheleficara)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12144817)
 * thanks for the answer, if there is the possibility to disable only the management
   of the css then I can ask my developer to disable that function and see how it
   works! can you confirm that this possibility exists and which parameter must 
   be deactivated exactly?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12144851)
 * Don’t know mod_pagespeed well enough, but Google led me to [https://www.modpagespeed.com/doc/config_filters](https://www.modpagespeed.com/doc/config_filters)
   and based on the list features in the core set you could try disabling `combine_css,
   flatten_css_imports, inline_css, rewrite_css`. The exact way how to depends on
   what webserver you’re using, but is described in the doc 🙂

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

The topic ‘Broken CSS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/autoptimize-criticalcss.svg)
 * [Autoptimize criticalcss.com power-up](https://wordpress.org/plugins/autoptimize-criticalcss/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize-criticalcss/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize-criticalcss/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize-criticalcss/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize-criticalcss/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize-criticalcss/reviews/)

## Tags

 * [broke](https://wordpress.org/support/topic-tag/broke/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 9 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/broken-css-15/#post-12144851)
 * Status: not resolved