WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Nick Halsey v2.2

Modular Custom CSS

WordPress core provides custom CSS functionality in the customizer that's specific to the current theme; you can switch themes freely with each t …

Modular Custom CSS

The facts

Rating
5★ from 6
Active installs
400+
Price
Free
Last updated
19 Jul 2026
Added
Aug 2014
Requires WP
4.9
Tested up to
WP 7.0.4
Downloads
18,863

Our analysis

AI-assisted

Modular Custom CSS is a WordPress plugin that allows you to add global CSS that persists across theme changes. Unlike the built-in customizer, which stores CSS specific to each theme, this plugin provides a separate option for CSS that remains consistent regardless of the active theme.

The plugin features live-preview functionality, enabling you to see changes in real-time before publishing. It is suitable for users who want to maintain specific styling across various themes without losing their custom CSS.

Best for: This plugin is best for users who frequently switch themes but want to maintain consistent styling.

What it does well

  • Allows global CSS that persists across theme changes
  • Live preview of CSS changes in the Customizer
  • Free to use from the WordPress.org directory
  • Compatible with WordPress 7.0.4

Where it falls short

  • Limited information on additional features or support

Verdict

Modular Custom CSS offers a straightforward solution for managing global CSS across themes. It may be particularly useful for developers and site owners who require consistent styling without theme dependency.

From the developer

Nick Halsey's own description of Modular Custom CSS, lightly tidied.

WordPress core provides custom CSS functionality in the customizer that’s specific to the current theme; you can switch themes freely with each theme’s additional CSS remaining in place. Sometimes, you need some CSS to apply regardless of the current theme persistently. This plugin adds a plugin CSS option for CSS that’s global and persists across theme changes.

With the Customizer, your CSS is instantly live-previewed, offering the ability to see exactly how your site will look before you publish your changes. The plugin CSS option is stored as an option. Prior to WordPress 4.7 (which introduced additional CSS in core), theme-specific CSS was stored as a theme_mod, in 4.7 and newer this is migrated to the core CSS functionality (which is theme-specific).

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for developer tooling.

WPCode

WPCode

93

Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...

Free 3M+ installs 4.9★ (1,873)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
Admin and Site Enhancements

Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...

Free 200k+ installs 5★ (421)
Shortcoder

Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...

Free 100k+ installs 4.9★ (227)
Insert PHP Code Snippet

Add PHP code to your pages and posts easily using shortcodes.

Free 90k+ installs 4.9★ (705)
Code Snippets

An easy, clean, and simple way to enhance your site with code snippets.

Free 1M+ installs 4.7★ (509)