Title: When select optimizing css, white background colors
Last modified: December 17, 2016

---

# When select optimizing css, white background colors

 *  Resolved [gnorf](https://wordpress.org/support/users/gnorf/)
 * (@gnorf)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/when-select-optimizing-css-white-background-colors/)
 * Hi
 * First of all, thanks for a great plugin!
 * on my theme, when using function optimize css I get a white color background 
   over some transparent areas in my theme. Namely a player.
 * Switching it off solve the issue but I was wondering if there is a fix for this?
 * Else everything works excellently.
 * Thanks!

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/when-select-optimizing-css-white-background-colors/#post-8562621)
 * hi [@gnorf](https://wordpress.org/support/users/gnorf/);
    hard to say from afar,
   but you could try not to aggregate inline CSS or exclude some of the CSS-files
   from aggregation (cfr. troubleshooting-tips in [the FAQ](https://wordpress.org/plugins/autoptimize/faq/))?
 * frank
 *  Thread Starter [gnorf](https://wordpress.org/support/users/gnorf/)
 * (@gnorf)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/when-select-optimizing-css-white-background-colors/#post-8562729)
 * Hi Frank
 * Thanks for the reply. The element affected is embedded into a main styles file.
   I guess one option perhaps could be to extract it and then create an exception.
 * As for inline, the transparency of the element isn’t visible in the setup of 
   the theme. I’ve tried to locate exactly where this happens but so far been unsuccessful.
   I’ve also tried to add background-color:transparent to various functions affected
   but no luck.
 * Rgds
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/when-select-optimizing-css-white-background-colors/#post-8562770)
 * if you can share your URL, i’ll have quick look 🙂
 *  Thread Starter [gnorf](https://wordpress.org/support/users/gnorf/)
 * (@gnorf)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/when-select-optimizing-css-white-background-colors/#post-8562792)
 * Dropped a message via your blog 🙂
 * Thanks
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/when-select-optimizing-css-white-background-colors/#post-8571480)
 * update; this got fixed by excluding css from optimization.

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

The topic ‘When select optimizing css, white background colors’ 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

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

 * 5 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/when-select-optimizing-css-white-background-colors/#post-8571480)
 * Status: resolved