Title: Over Optimizing in CSS url Attribute
Last modified: June 26, 2017

---

# Over Optimizing in CSS url Attribute

 *  Resolved [connormagyar](https://wordpress.org/support/users/connormagyar/)
 * (@connormagyar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/over-optimizing-in-css-url-attribute/)
 * After installing and activating Autoptimize the logo on my website disappeared,
   and I couldn’t figure out why. Looking with dev tools, I found that the logo 
   was being set through CSS, and Autoptimize had changed the word “black” to “#
   000” in the filename, and was calling media from an nonexistent location.
 * I resolved it by uploading a new logo without the word “black,” but I believe
   this problem will likely continue with other media called through css with filenames
   that include colors.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/over-optimizing-in-css-url-attribute/#post-9264499)
 * I can confirm this bug, 2.2.2 will roll back to the previous (battle-tested) 
   version of the CSS minifier [@connormagyar](https://wordpress.org/support/users/connormagyar/).
   if you want you can do that rollback yourself by opening `wp-content/plugins/
   autoptimize/autoptimize.php` and in there on line 202 change
 * `@include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/yui-php-cssmin-2.4.8-p10/
   cssmin.php');`
    into `@include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/yui-
   php-cssmin-2.4.8-4_fgo.php');`
 * frank

Viewing 1 replies (of 1 total)

The topic ‘Over Optimizing in CSS url Attribute’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/over-optimizing-in-css-url-attribute/#post-9264499)
 * Status: resolved