Title: CSS Minification for PageSpeed Optimization
Last modified: August 21, 2016

---

# CSS Minification for PageSpeed Optimization

 *  [soasmw](https://wordpress.org/support/users/soasmw/)
 * (@soasmw)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/css-minification/)
 * Hello,
 * When I ran Google PageSpeed, I was suggested to eliminate render blocking CSS
   and Javascript in the above-the-fold content. I went to the Minify tab and added
   the suggested JS and CSS files in the JS&CSS section.
 * When I included the stylesheets in CSS section, I lost all the styling defined
   for my site. But when I removed the style.css files (for the main theme as well
   as the child theme), the problem does not exist, but that affects the page rating
   in PageSpeed. In addition, new CSS links appear in the PageSpeed results that
   need to be eliminated, which the plugin says “do not exist” once the minify cache
   has been cleared. How to handle this, while minifying my CSS? GTMetrics and Pingdom
   Tools have also suggested me to minify the stylesheets.
 * My domain is [http://www.careerfoundation.info](http://www.careerfoundation.info)
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

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

 *  [Direnk](https://wordpress.org/support/users/direnk/)
 * (@direnk)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/css-minification/#post-5154440)
 * You can clean up your css code as a first step. Especially if more than 1 coder
   worked on the css files, there could be duplicates and inconsistencies. There
   are many useful tools for that on the internet. You can try [proCSSor](http://tools.maxcdn.com/procssor/)
   for the beginning.
 *  Thread Starter [soasmw](https://wordpress.org/support/users/soasmw/)
 * (@soasmw)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/css-minification/#post-5154453)
 * Thanks for the reply Direnk.
 * I tried this tool, but it returned a 500 error. So, I tried [CSSTIDY](http://csstidyonline.com/).
   But that did not do any help.
 *  [Azhar Nadeem](https://wordpress.org/support/users/azhar-nadeem/)
 * (@azhar-nadeem)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/css-minification/#post-5154484)
 * I would suggest not to run other minification plugins. This will worsen your 
   problem. I believe you can’t optimize each and every thing. Google Page speed
   is also suggesting me to remove “Minified” Js and CSS while I am using “Async”
   versions. Also I am getting errors for external JS like ShareThis and adsense
   ads.
 * So, point I am trying to make is that you can not take things out of context 
   for optimization. Good point to ponder is that Google’s own JS in adsense is 
   not passing PageSpeed standards.
 *  Thread Starter [soasmw](https://wordpress.org/support/users/soasmw/)
 * (@soasmw)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/css-minification/#post-5154640)
 * I understand. And in fact, I realized that when I tried to minify the js query
   and js migrate files, my page speed score decreased.
 * I use no other minification plugins.

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

The topic ‘CSS Minification for PageSpeed Optimization’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [minify css](https://wordpress.org/support/topic-tag/minify-css/)
 * [Minify JavaScript](https://wordpress.org/support/topic-tag/minify-javascript/)
 * [pagespeed](https://wordpress.org/support/topic-tag/pagespeed/)

 * 4 replies
 * 3 participants
 * Last reply from: [soasmw](https://wordpress.org/support/users/soasmw/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/css-minification/#post-5154640)
 * Status: not resolved