You don’t need a child theme to change a color, widen a column, or hide a stray element. WordPress has shipped a built-in place for small CSS edits since version 4.7, and block themes have their own version of it. A child theme is a different tool for a different job — overriding template files and PHP functions — and it requires creating files inside wp-content/themes, which is outside the workflow of someone running a single site from wp-admin and the host panel.
Here’s the decision in one line: use the built-in Additional CSS editor for tweaks, use a CSS plugin if the CSS must survive a theme switch, and reach for a child theme only when you need to change theme code, not just its appearance.
First, know which kind of theme you have
The path differs depending on whether your site uses a classic theme or a block theme. You can tell from the admin menu. Go to Appearance in the left sidebar. If you see Editor, you have a block theme. If you see Customize, you have a classic theme (or a theme that still supports the Customizer).
This matters because the Customizer is only available when the active theme supports it, and block themes generally hide it except when a plugin requires it, per the WordPress.org Customizer documentation. So don’t go hunting for a menu that isn’t there — check which editor your theme uses first.
Path A: Classic themes — Appearance → Customize → Additional CSS
This is the original built-in route, added in WordPress 4.7. The WordPress developer documentation on CSS describes it directly: choose the Additional CSS tab when customizing your current theme, and you can add CSS without plugins or editing theme files.
- Go to Appearance → Customize.
- Click Additional CSS at the bottom of the Customizer sidebar.
- Type or paste your CSS into the text box. The preview pane on the right updates as you type.
- When it looks right, click Publish (or Save Changes, depending on your version).
Two things about this editor are worth understanding before you rely on it.
It loads after your theme’s CSS. The developer documentation notes that custom CSS is loaded after the theme’s original stylesheet, which is why a short rule here can override a specific theme rule without you rewriting the whole stylesheet. That’s the point of the feature.
It’s tied to the theme. This is the part people miss. The same documentation says plainly: if you switch to a new theme, your custom CSS will no longer be active — and if you switch back, it returns. So if you’re planning a redesign, or you’re not sure the site will keep this theme, treat the Additional CSS box as belonging to that theme, not to the site.
If you make a mess in the preview, don’t publish. Close the Customizer without saving and the live site is untouched. That’s your first undo button, and it’s free.
Path B: Block themes — Appearance → Editor → Styles → Additional CSS
Block themes moved this into the Site Editor. As of WordPress 6.2, you can add custom CSS in the Styles area of the Site Editor, according to the same CSS documentation. The Styles overview covers the Styles panel itself: colors, typography, layout, and per-block settings, all applied site-wide.
The steps, as documented in the WordPress.com CSS guide (which describes the same Site Editor interface):
- Go to Appearance → Editor.
- Select Styles in the sidebar.
- Click the three-dot (ellipsis) menu and choose Additional CSS.
- Paste your CSS and click Save.
Block themes also give you a narrower option that’s often the better fit for a non-technical operator: per-block CSS. In the Styles panel, open Blocks & Elements, pick a block type (say, Paragraph or Heading 2), scroll to Advanced, and enter CSS in the Additional CSS field there. You don’t write a selector — the field applies to every instance of that block across the site. That scoping is the advantage: you’re less likely to affect something you didn’t mean to.
For rolling back, the Site Editor keeps revisions of your style changes. The WordPress.com guide describes opening the Styles panel, clicking the Revisions icon (a clock with a counterclockwise arrow), comparing an earlier version, and applying it. The icon only appears if there are saved revisions, so if you don’t see it, there’s nothing to restore yet.
Path C: A CSS plugin — when the CSS must outlive the theme
If your CSS needs to keep working after a theme change, the built-in editors won’t do it, because both are theme-scoped. That’s the case for a small CSS plugin. The Simple Custom CSS and JS plugin states in its own FAQ that CSS and JS added through it are independent of the theme and persist through a theme change. That’s the plugin’s claim about its own behavior, not a general WordPress guarantee — but it’s the specific property you’d be choosing it for.
Two practical notes from the plugin’s documentation:
- Permissions: by default only Administrators can publish, edit, or delete custom codes. The plugin also creates a “Web Designer” role you can assign to a non-admin user if someone else needs to edit CSS without full admin access.
- Nothing appears on the site? The plugin’s FAQ lists the usual causes: a caching plugin holding an old copy, or the code sitting in Draft or Trash instead of Published. Clear the cache and check the status before assuming the CSS is wrong.
I’m not going to tell you this plugin is more or less secure than the built-in editor, because no source I have compares them on that basis. Choose it for the persistence behavior, and keep your plugin count low for the usual reasons.
Why a child theme is the wrong default here
Child themes exist for a real reason. The Theme Handbook describes them as extensions of a parent theme that let you modify an existing theme without directly editing that theme’s code, so parent theme updates don’t wipe out your changes. That’s the job: template overrides, template parts, patterns, and additions to functions.php.
But creating one means creating a folder in wp-content/themes and a style.css with a Template header that exactly matches the parent theme’s folder name. That’s file-level work. If your workflow is wp-admin plus the host’s control panel, with no FTP and no staging, you’re being asked to do something outside your lane — and for a color change, you don’t need to.
There’s also a quieter point: a child theme is tied to one parent theme anyway. If your real requirement is “this CSS should survive a theme switch,” a child theme doesn’t solve it — a CSS plugin does. So the child theme isn’t even the right answer to the persistence question.
Reserve child themes for when you need to change what the theme does, not just how it looks. That’s a different project, and it’s reasonable to bring in help for it.
Guardrails before you paste anything
None of this is scary if you do it in order. A few habits make the difference.
Keep a plain-text copy of your CSS outside WordPress. Every built-in path has a revert mechanism — discard the Customizer preview, restore a Site Editor revision, or set the plugin code back to Draft — but none of those is a backup you control. A text file on your desktop is.
Test on one page before site-wide. If your rule targets a specific page or post, add the class or ID for that page first and confirm it looks right there. Broad selectors like body or img affect everything, and it’s easy to forget that when you’re focused on one element.
Know your undo before you need it. Classic theme: close the Customizer without publishing. Block theme: Styles → Revisions. Plugin: the code’s Draft state. Write down which one applies to you.
If the site shows a critical error or a maintenance screen after a CSS change, that’s almost always a PHP or plugin issue, not CSS — CSS can’t produce a fatal error. Don’t start deleting things. Check whether the problem began with a plugin or theme update, and use your host’s file manager or backup restore if you need to get back to a known state. This looks worse than it is; the order of operations is: identify what changed, revert that one thing, then investigate.
A short decision table
| Your situation | Use this |
|---|---|
| Classic theme, small visual tweak | Appearance → Customize → Additional CSS |
| Block theme, site-wide tweak | Appearance → Editor → Styles → Additional CSS |
| Block theme, one block type only | Styles → Blocks & Elements → [block] → Advanced |
| CSS must survive a theme switch | A CSS plugin (e.g., Simple Custom CSS and JS) |
| Need to change templates or functions | Child theme — a separate project |
FAQ
Will my custom CSS disappear if I update my theme?
No. The developer documentation notes that if you modify a theme directly and it’s updated, your modifications may be lost — and that using Custom CSS preserves them. The Additional CSS editor stores your rules separately from the theme files, so a theme update doesn’t touch them. A theme switch is different: the CSS goes dormant and returns if you switch back.
Can I use the Customizer if I have a block theme?
Usually not. The Customizer is only available when the active theme supports it, and block themes generally hide it except when a plugin requires it. Use the Site Editor’s Styles panel instead.
What if my CSS doesn’t seem to apply?
Check three things in order: whether a caching plugin is serving an old page, whether your rule is specific enough to override the theme’s existing rule, and whether you saved or published. If you’re using a CSS plugin, confirm the code is Published, not Draft.
Do I need a child theme for anything?
Only if you need to override template files, template parts, patterns, or add functions to functions.php. For appearance changes, the built-in editors or a CSS plugin cover it.