On this page
What this issue is
CSS is the code that controls how a page looks. Unused CSS is any rule the browser downloads but does not apply to anything on the current page. Lighthouse reports it as "Reduce unused CSS" and lists the files with wasted bytes.
Page builders such as Elementor, Divi, WPBakery and large themes are common causes. They bundle styles for every widget, icon set and layout option into shared files, so a simple landing page with a headline, a form and a button still downloads styles for sliders, galleries and pricing tables it never shows.
This guide treats a total of more than about 200 KB of unused CSS on a page as the point where it is worth fixing. That is a rule of thumb, not an official limit.
Why it costs you leads or sales
CSS blocks rendering. The browser will not paint the page until it has downloaded and parsed the stylesheets in the <head>. More CSS means a later first paint and often a later Largest Contentful Paint (LCP), the time until the biggest visible element appears. Slow pages lose visitors before the form or button is even visible.
The impact is usually modest on its own, which is why this issue is rated low. It matters most on mobile connections and on paid landing pages where every visitor costs money. It tends to add to other problems such as large images and render-blocking scripts.
Example: a landing page built with a page builder, before and after removing unused builder CSS. Numbers are illustrative.
- HTML arrivesBrowser starts reading the page
- Large CSS bundle400 KB+ downloaded and parsed, mostly unused
- First paintDelayed until CSS is ready
- Hero and form visibleLCP happens later
The browser waits for all CSS in the head before it paints anything.
How to check if your site has it
Run PageSpeed Insights or Lighthouse
Test the exact landing page URL on mobile. Look for "Reduce unused CSS" under Diagnostics and note the files and the wasted KB.
Open the Coverage tool in Chrome
In DevTools press Ctrl+Shift+P (Cmd+Shift+P on Mac), type "Coverage", choose "Show Coverage", click reload and sort by Unused Bytes.
Identify the owner of each big file
Check the file path. Paths like /wp-content/plugins/elementor/ or /wp-content/themes/ show which plugin or theme adds it.
Repeat on a few page types
Test the home page, a landing page and a checkout or thank-you page. Shared bundles often load everywhere.
How to fix it
The order that works best: stop loading features you do not use, then load CSS per page, then defer what remains. Always take a backup or work on a staging copy first.
Turn on the builder's CSS optimisation
In Elementor, go to Elementor > Settings > Features and enable the optimised CSS loading options your version offers, such as Optimized Control Loading and Improved CSS Loading. In Divi, open Theme Options > Builder > Advanced and enable Dynamic CSS and Critical CSS.
Disable unused widgets and add-ons
Elementor > Settings > Element Manager lets you disable widgets you never use. Deactivate add-on plugins you no longer need.
Use an optimisation plugin carefully
Plugins such as WP Rocket (Remove Unused CSS option) or Perfmatters (Script Manager and Remove Unused CSS) can generate per-page CSS. Test forms, menus and popups afterwards.
Dequeue styles on landing pages
If you are comfortable with code, use wp_dequeue_style for handles you confirm are unused on that page (example below).
Remove apps you do not use
Apps often inject their own stylesheets. In Online Store > Themes > Edit code, search for leftover app snippets and remove them after uninstalling the app.
Remove unused theme sections
Delete sections and blocks you do not use from the template. Theme CSS tied to them is then easier to remove.
Load section CSS only where needed
In theme code, move CSS used by a single section into that section's {% stylesheet %} tag, or load a file only on the template that needs it.
Check tags that inject CSS
Some custom HTML tags add stylesheets (popups, chat widgets, cookie banners). Review tags in the container and pause those the page does not need.
Limit them with triggers
Fire such tags only on the pages that use them, not on All Pages.
Clean up unused styles
In the Style Manager, use Clean up > Unused styles to remove classes that are not used on any page.
Remove unused interactions and embeds
Delete old custom code embeds and third-party stylesheets in Project Settings > Custom Code.
Reduce custom fonts and libraries
Remove icon fonts and CSS libraries you no longer use.
Remove custom CSS you do not use
Open the funnel or website settings and review custom CSS and header code. Delete old blocks from earlier designs.
Simplify the page
Remove unused sections and elements from the builder page. Rebuild heavy pages from a simple template if needed.
Remove unused elements and apps
Wix controls most of its own CSS. Delete hidden elements, old app widgets and unused sections from the page to reduce what is loaded.
Limit custom code
Review Settings > Custom Code and remove stylesheets that are not needed.
Trim Custom CSS
Open Website > Pages > Custom Code or the Custom CSS panel and remove rules for sections that no longer exist.
Remove unused blocks and extensions
Delete hidden sections and extra third-party code injections you no longer use.
Split CSS by page type
Serve a small shared file plus one file per template instead of a single bundle for the whole site.
Purge unused rules in the build
Use a build tool such as PurgeCSS, or the content setting in Tailwind, so only used classes ship. Safelist classes added by JavaScript.
Inline critical CSS
Inline the small amount of CSS needed for above-the-fold content and load the rest without blocking rendering.
add_action( 'wp_enqueue_scripts', function () {
if ( is_page( 'spring-offer' ) ) {
// Replace with the real handle from your page source or plugin code.
wp_dequeue_style( 'example-slider-style' );
wp_deregister_style( 'example-slider-style' );
}
}, 100 );Before
- Every widget's CSS loads on every page
- Several stylesheets block rendering
- Lighthouse lists hundreds of KB of unused CSS
After
- Only CSS for used widgets loads
- Critical CSS is inlined, the rest is deferred
- Unused CSS drops well below the 200 KB mark
How to confirm it's fixed
- Re-run PageSpeed Insights on mobile and compare unused CSS and LCP with your earlier result
- Re-open Chrome Coverage and confirm total unused CSS is lower
- Clear all caches (plugin, server, CDN) before testing
- Load the page in a private window and check nothing looks broken
- Submit the form and click key buttons to make sure they still work
- Check the page on a real phone and in a second browser
How to prevent it happening again
- Use a lightweight template for landing pages instead of the full theme
- Audit plugins and add-ons every quarter and remove those you do not use
- Re-run Lighthouse after every theme, plugin or builder update
- Avoid adding a new widget library for one small feature
- Set a budget, such as no more than 200 KB of unused CSS on landing pages, and check it before launch
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs your real customer journeys on a schedule and checks forms, buttons, tracking hits and lead delivery. It does not measure how much CSS a page loads or how much of it is unused.
The kind of tool that fits is a page speed and performance auditing tool, such as Lighthouse, PageSpeed Insights or Chrome DevTools Coverage, or a performance monitoring service that tracks Core Web Vitals over time. After you trim CSS, FunnelGuard can still help you confirm that your forms, buttons and tracking keep working through the funnel. A free read-only website audit is also available.
Related checks
Unused CSS is often one part of a wider speed problem. See render-blocking CSS in the head, builders that load every widget's assets, and unused JavaScript for the other common causes.
Questions people ask
What does "Reduce unused CSS" mean in Lighthouse?
It means the page downloads CSS files containing rules that are not used by the page at load. Lighthouse lists each file and the estimated bytes you could save. Removing or deferring those rules makes the page render sooner.
How much unused CSS is too much?
There is no official limit. As a rule of thumb, more than about 200 KB of unused CSS on a landing page is worth fixing, especially for mobile visitors. Any size matters more if the CSS blocks rendering.
Why does Elementor load so much unused CSS?
Elementor and similar builders ship shared stylesheets that cover many widgets and layout options so any page can use them. Without optimisation settings, a simple page still downloads much of that code. Enabling the builder's CSS loading options and disabling unused widgets reduces it.
How do I find unused CSS on my website?
Run PageSpeed Insights or Lighthouse on the page and open the "Reduce unused CSS" item. For more detail, open Chrome DevTools, show the Coverage panel, reload the page and sort by Unused Bytes.
Is it safe to remove unused CSS automatically?
It can be, but test carefully. Automatic tools may remove styles for popups, menus, form errors or elements that appear after a click. Test the full journey, including form submission, on desktop and mobile after each change.
Does unused CSS hurt SEO and ad performance?
It can contribute indirectly. Extra blocking CSS slows rendering and can worsen LCP, a Core Web Vitals metric. The effect from CSS alone is usually small, so treat it alongside image and script issues.
Can FunnelGuard detect unused CSS?
No. FunnelGuard checks that journeys, forms, tracking and lead delivery work. For unused CSS, use a performance tool such as Lighthouse, PageSpeed Insights or a Core Web Vitals monitoring service.
Related issues
- PRF-011Render-blocking CSS in <head> (large theme stylesheets)Fix guide
- PRF-015Page builder (Elementor/Divi) loads every widget's assets on every pageFix guide
- PRF-014Unused JavaScript over 500 KBFix guide
- PRF-001LCP over 2.5 s on a funnel stepFix guide
- PRF-002LCP over 4 s on mobile (poor) on the paid landing pageFix guide
- PRF-012Render-blocking synchronous JS in <head> (jQuery, sliders)Fix guide