Title: Debugging CSS
Last modified: September 1, 2016

---

# Debugging CSS

 *  Resolved [marek156](https://wordpress.org/support/users/marek156/)
 * (@marek156)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/debugging-css-1/)
 * Hi Frank
 * I’m attempting to fix above the fold content using the inline above the fold 
   css feature, however my pages brake after doing this.
 * Running the debug tool : [https://criticalcss.com/debug-css](https://criticalcss.com/debug-css)
 * Highlights error found in the css file created by AO, “Selector missing”: [http://prntscr.com/cbpiid](http://prntscr.com/cbpiid)
 * There are a few more errors on other pages, but lets start with the homepage 
   first, as since the pages are pretty similar, this fix may fix them all.
 * Thanks!
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/debugging-css-1/#post-7711964)
 * try running the debug-css against the non-optimized version of your site by adding`?
   ao_noptimize=1` to the URL 🙂
 *  Thread Starter [marek156](https://wordpress.org/support/users/marek156/)
 * (@marek156)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/debugging-css-1/#post-7711976)
 * Thanks!
    I’m assuming this: [http://prntscr.com/cbq5jg](http://prntscr.com/cbq5jg)
   will be a theme issue? Its the same for all pages that brake after using this
   feature (But a different code line number)
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/debugging-css-1/#post-7711997)
 * could be, but could just as well be from a plugin I’m afraid … 🙂
 *  Thread Starter [marek156](https://wordpress.org/support/users/marek156/)
 * (@marek156)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/debugging-css-1/#post-7711999)
 * Yeah, I found out what it was! Fixed it, so no debug errors now.
    Still website
   loads incorrectly with the critical CSS though, which is a shame. But this is
   with the guy over at criticalcss.com now so hopefully he can debug it!
 * Thanks alot for your help with this and keep up the good work

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

The topic ‘Debugging CSS’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [marek156](https://wordpress.org/support/users/marek156/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/debugging-css-1/#post-7711999)
 * Status: resolved