How to Remove Unused CSS on Your WordPress Site - MainWP WordPress Management (2024)

When you are auditing your WordPress website speed with the performance audit tools such as Lighthouse or GTmetrix, one of the most challenging recommendations that will show is to remove unused CSS that is being loaded on your WordPress site.

There are several WordPress plugins that claim to remove unused CSS but many fail. Here are the two easy plugins to be able to remove unused CSS that is loading on your WordPress website.

1. Core Web Vitals & PageSpeed Booster

How to Remove Unused CSS on Your WordPress Site - MainWP WordPress Management (1)

Core Web Vitals & PageSpeed Booster – WordPress plugin

The Core Web Vitals & PageSpeed Booster is a new WordPress performance plugin developed by the team at Magazine3.

Once you have installed and activated the plugin on your site it will add a new admin menu item called; Core Web Vitals

How to Remove Unused CSS on Your WordPress Site - MainWP WordPress Management (2)

Remove Unused CSS – Core Web Vitals & PageSpeed Booster

Navigate to the CSS tab of the plugin settings, you will see a toggle to remove unused CSS. You can also clear the CSS cache from here.

The plugin also includes options for:

  • Lazy loading
  • Minification
  • Google Fonts optimization
  • Delaying JavaScript execution
  • Basic cache and more…

Give a try to this new buddy and don’t forget to share your experience in the comments below.

2. Asset Cleanup

How to Remove Unused CSS on Your WordPress Site - MainWP WordPress Management (3)

Asset CleanUp: Page Speed Booster – WordPress Plugin

The second plugin to remove unused CSS is Asset CleanUp which will not only allow you to disable CSS but also the JavaScript that is being loaded by active plugins and the active theme from loading on specific pages on your WordPress site.

You will need to have the Asset CleanUp plugin installed and activated on your site and then on the edit a Page or Post screen, the Asset Cleanup: CSS & JavaScript Manager / Page Options section will show all of the CSS and JavaScript files that are being loaded on it.

How to Remove Unused CSS on Your WordPress Site - MainWP WordPress Management (4)

Asset CleanUp Page Options

In the Manage CSS & JS page option, set the CSS that should not be loading on the page or post to be unloaded and when you save and refresh that page in your browser. The disabled/removed unused CSS assets will no longer be loading on the page or post.

  • The Asset CleanUp plugin also includes features such as:
  • Optimize CSS to minify and combine
  • Optimize JavaScript to be able to minify and combine
  • Disable emojis, embeds, disable dash icons, block library, comment reply site-wide, and so on.

You can also remove unused elements from the head section of your site such as RSD, windows live, REST API link tag, WordPress meta tag, main RSS feed link and the comment RSS feed link.

There is also a pro version of the Asset CleanUp plugin if you need a number of additional options for your site.

Using either the Core Web Vitals or Asset CleanUp plugins on your site will make it easy to be able to remove unused CSS on your site for a performance gain.

Useful links

How to Remove Unused CSS on Your WordPress Site - MainWP WordPress Management (2024)
Top Articles
The Best Budget Tips for College Students | I Graduated Debt Free
UX Mapping Methods Compared: A Cheat Sheet
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 6775

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.