Plugin

Reduce unused CSS in WordPress, rule by rule

Nucleo decides which stylesheets to load on each type of page and, with Pro, reduces theme and plugin CSS to what the page can use.

Asset rulesCritical CSSPurger in ProFree plan
The problem

Themes and plugins load CSS the page does not use

You are looking for a tool to reduce unused CSS in WordPress: something that tells you which files to disable, which CSS to remove and which CSS the first render needs.

Nucleo works on the assets of your site: in the free version with per-page rules and critical CSS, in Pro with the audit, the purger and the optimization from the Performance panel, which compares the page before and after.

Features

What the plugin does for CSS

Free

Asset rules

Disable, replace or defer theme and plugin assets with dedicated rules.

Pro

Asset audit

Lists the styles and scripts loaded on a page, so you can see what to remove.

Pro

CSS purger

Removes from the stylesheet the rules that the page does not use.

Free

Critical CSS

Publishes the CSS for the first render and generates it from the command line with nucleo critical and --urls.

Pro

Optimization from the panel

Applies optimizations from the Performance panel and compares the page before and after.

Pro

WooCommerce rules

Includes predefined rules for the assets of WooCommerce pages.

How to use it

Reduce unused CSS in three steps

  1. 1
    Install the free plugin

    Upload the nucleo folder to wp-content/plugins, or install the zip from Plugins, Add New.

  2. 2
    Check the page assets

    With Pro, the asset audit lists the styles and scripts loaded, so you know what to remove.

  3. 3
    Apply the rules and compare

    Set the rules and check the page on desktop and mobile. With Pro, the Performance panel compares the page before and after and publishes only the parts with no differences.

Learn more: Remove unused CSS · Optimizer and assets · Pricing · Core Web Vitals in WordPress · Remove unused JavaScript in WordPress · Fast WordPress theme

Comparison

Free and Pro plans, side by side

The features included in each Nucleo plan.

Free and Pro plans, *side by side*
FreePro
Asset rulesYesYes
Asset auditNoYes
CSS purgerNoYes
Critical CSSYesYes
Optimization from the panel with before and after comparisonNoYes
WooCommerce rulesNoYes
Questions

Questions about the unused CSS plugin

Is there a free plugin for unused CSS in WordPress?
Yes. The free plugin includes asset rules and critical CSS. It requires no license or account. The purger, the audit and the WooCommerce rules are in the Pro plan.
Is a plugin enough to reduce unused CSS in WordPress?
A plugin can disable assets and remove unused CSS, but the result depends on the theme and the plugins you use. Check each page after the change.
Can the purger break the layout?
The purger removes the rules the page does not use. A rule may serve an element that appears only after a script runs, for example a menu opened on click. Check the page before you publish.
Does the plugin work with WooCommerce?
Yes, with Pro. The predefined WooCommerce rules are included in the Pro plan.
Do the rules stay active if the license expires?
Yes. Published rules and variants stay active when the license has expired.
Is critical CSS included in the free version?
Yes. Critical CSS is included in the free plan and is generated with the nucleo critical command and the --urls option.
Get started

Try the plugin on your WordPress site

Install the free plugin from WordPress.org or download it from this site. Asset rules and critical CSS are already included. Pro adds the audit, the purger and the WooCommerce rules.