Title: Autoptimize Causes CSS Errors
Last modified: October 25, 2017

---

# Autoptimize Causes CSS Errors

 *  [bfrancoeur](https://wordpress.org/support/users/bfrancoeur/)
 * (@bfrancoeur)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/autoptimize-causes-css-errors/)
 * Hi!
 * The CSS for m client’s website works fine until I select “Optimize CSS” in the
   Autoptimize settings. After that, the header styles won’t load in Safari, and
   sometimes won’t load in Google Chrome or Firefox. As soon as deselect the “Optimize
   CSS” option and delete the Autoptimize cache, the CSS works normally.
 * What’s causing this?
 * Link to WebPageTest.org results: [https://www.webpagetest.org/result/171025_1H_606133b0992dd1393469dcb78dbeb544/](https://www.webpagetest.org/result/171025_1H_606133b0992dd1393469dcb78dbeb544/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fautoptimize-causes-css-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/autoptimize-causes-css-errors/#post-9621793)
 * No idea I’m afraid [@bfrancoeur](https://wordpress.org/support/users/bfrancoeur/);
   the screenshots in the webpagetest.org test results all look OK and if it mostly
   works but sometimes won’t load in chrome & firefox (no Safari here), this is 
   _very_ hard to troubleshoot. Did you try excluding `themes/porto/css/skin_1.css`
   and/ or `themes/porto/css/theme_1.css` from autoptimization?
 * frank

Viewing 1 replies (of 1 total)

The topic ‘Autoptimize Causes CSS Errors’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/autoptimize-causes-css-errors/#post-9621793)
 * Status: not resolved