Title: CSS Option Breaks Certain Plugins
Last modified: August 30, 2016

---

# CSS Option Breaks Certain Plugins

 *  [mandy786](https://wordpress.org/support/users/mandy786/)
 * (@mandy786)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/css-option-breaks-certain-plugins/)
 * Hi,
 * I’m using Autoptimize which is great but whenever I select the Optimize CSS option
   my menu loses its styles and the slider disappears. I have tried excluding both
   of these but still not getting anywhere.
 * Can you tell me how to fix it?
 * Here is the URL with the problem [](http://www.underthechristmastree.co.uk)
 * I have had to disable the Optimize CSS option.
 * Thanks.
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/css-option-breaks-certain-plugins/#post-6483211)
 * hard to say without being able to see what exactly is going wrong, but you’ll
   probably have to exclude some of the inline CSS from aggregation.
 * if you want you can also disable all aggregation of inline CSS by using the following
   code (in your child theme’s functions.php or [by using code snippets](https://wordpress.org/plugins/code-snippets/)):
 *     ```
       add_filter('autoptimize_css_include_inline','rudolph_css_include_inline',10,1);
       function rudolph_css_include_inline() {
               return false;
       	}
       ```
   
 * hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘CSS Option Breaks Certain Plugins’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/css-option-breaks-certain-plugins/#post-6483211)
 * Status: not resolved