Title: Optimize CSS Code breaks down mobile theme
Last modified: August 31, 2016

---

# Optimize CSS Code breaks down mobile theme

 *  Resolved [wh82](https://wordpress.org/support/users/wh82/)
 * (@wh82)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/)
 * Hello,
 * I just installed Autoptimizer on one of my clients websites.
 * Just one problem:
    The ‘Optimize CSS Code’ function makes the mobile theme not
   work anymore… it loads the desktop version on the website.
 * The theme used is ‘Bretheon’
    I tried turning on/off all the options, but nothing
   seems to work.
 * Can anyone help me with this?
    Thanks in advance!
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343475)
 * well
    1. it’s a premium theme so I can’t experiment with it 2. you didn’t provide
   a URL where I could see the problem
 * so I’m very much in the dark here, but when looking at [the demo-site](http://themes.muffingroup.com/bretheon/)
   I think excluding `bretheon/css/responsive.css` might do the trick?
 * frank
 *  Thread Starter [wh82](https://wordpress.org/support/users/wh82/)
 * (@wh82)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343537)
 * thanks!
    excluding bretheon/style.css did the trick still a lot of other css’es
   to optimize though…
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343538)
 * > excluding bretheon/style.css did the trick
 * great!
 * > still a lot of other css’es to optimize though…
 * google fonts & other non-local CSS I presume? yeah, AO does not aggregate those(
   for lots of good reasons).
 * frank
 *  Thread Starter [wh82](https://wordpress.org/support/users/wh82/)
 * (@wh82)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343540)
 * No I meant that excluding style.css doesn’t leave AO with nothing to do 🙂
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343559)
 * > No I meant that excluding style.css doesn’t leave AO with nothing to do 🙂
 * ah, ok 🙂
 * If you have time, I’d appreciate if you could [mark AO 2.0.2 working with WP 4.5.1 here](https://wordpress.org/plugins/autoptimize/#compatibility)
   and -if you’re really happy- maybe even [leave a review here](https://wordpress.org/support/view/plugin-reviews/autoptimize#postform)
   🙂
 * frank
 *  [smhdesign](https://wordpress.org/support/users/smhdesign/)
 * (@smhdesign)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343756)
 * Frank – I have the exact issue listed above. I installed the Autoptimizer and
   it broke the desktop slider, and mobile menu & slider. (Elegant themes: Divi)
   What does excluding css/responsive.css mean? And how can I do this? It’s for 
   this site: windheimemfsolutions (dot) com.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343759)
 * you’re likely having a different problem, so I’ll answer in the other thread 
   you created 🙂
 * frank

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

The topic ‘Optimize CSS Code breaks down mobile theme’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-css-code-breaks-down-mobile-theme/#post-7343759)
 * Status: resolved