Title: <abbr title="Not Safe For Work / Mature content">[NSFW]</abbr> Remove CSS?
Last modified: June 30, 2021

---

# [NSFW] Remove CSS?

 *  Resolved [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/)
 * Hi,
 * I added Autoptimize to my WP Rocket cached website (as it said in the WPR instructions
   that it would work fine), and it was disastrous.
 * After three or four shrieks, seeing as it had turned my dark coloured pages to
   white ones, I deactivated and deleted Autoptimize, but still a few features (
   ie the Age Gate plugin showing up as white instead of dark. and the sticky menu
   turning white instead of dark) still remained.
 * Other than a server reset back to around two months ago, is there a way to remove
   the css added by Autoptimize?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-css-11%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14612725)
 * If in the HTML source you still see references to `cache/autoptimize` (I don’t)
   then clearing any page cache that might be involved (so wp rocket, but maybe 
   you have page caching at your host too or cloudflar or …) should fix that deeveearr
 * hope this helps,
    frank
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14612751)
 * Never thought of checking Cloudflare – I’ll let you know
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14612964)
 * No, it’s not Cloudflare.
 * I cleared all of the Autoptimize cache files out of my server files about two
   weeks ago thinking that might solve it, but it didnt.
 * I’ll have to get my theme developer onto it.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14612993)
 * well, when looking at the HTML source I don’t see any reference to Autoptimize
   CSS-files any more deeveearr, so based on that there is nothing from AO left 
   on your site? do you find instances of the “autoptimize” string in the HTML source
   when you look?
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14613028)
 * Well its got to be something to do with Autoptimize, as before I installed it,
   everything was working fine.
 * Then after installing, everything went the wrong colour.
 * On deactivating/deleting, everything went back to normal except for the sticky
   menu and the Age Gate.
 * There were no instances of Autoptimize in the source code when I checked after,
   which is why I had to manually pull the Autoptimize cache instances out of my
   host’s cpanel to see if that would work.
 * Onlinemediamasters have got a lot to answer for!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14613038)
 * Autoptimize makes no changes in the original CSS (or JS)-files, so I’m afraid
   the fact things are broken even after AO was removed (and confirmed so by the
   HTML source) looks like coincidence (or bad luck) really .. :-/
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14613432)
 * Sorted it.
 * Deleted WP Rocket and set up some new strict page rules on Cloudflare.
 * Re-activated WP Rocket, set all my options and let it search for un-used CSS.
 * Deleted the new Cloudflare page rules, and after a few little burps and farts,
   the website returned to normal.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14614214)
 * that was some nice juggling you had to do there, but happy all is well now deeveearr
   🙂

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

The topic ‘[NSFW] Remove 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/remove-css-11/#post-14614214)
 * Status: resolved