How you customize a WordPress theme depends on one thing first: is it a classic theme or a block theme? Each type has its own tools, and the wrong choice can wipe your changes on the next update or when you switch themes. This guide covers both, checked against WordPress 7.1 and the official documentation in December 2026.

Step 1: Find out which type of theme you have

Open Appearance in the dashboard and look at the menu:

  • Customize is there and Editor is not: you have a classic theme. Most ThemeForest themes (Avada, Divi, Astra, OceanWP and similar) work this way.
  • Editor is there and Customize is gone: you have a block theme, such as Twenty Twenty-Five. WordPress hides the Customizer for block themes unless a plugin needs it.
  • Some classic themes that support editor styles show a Design item next to Customize. That is not a full Site Editor; your main tool is still Customize.

Customizing a classic theme

1. Theme options in the Customizer

Go to Appearance > Customize. Here you change the logo, colors, fonts, header and footer layout and menus, with a live preview before you publish. Many premium themes also have their own options panel (for example Avada’s Global Options or Divi’s Theme Options). Use those first; they are made for that theme and survive updates.

2. Small style changes with Additional CSS

In the Customizer, open Additional CSS. CSS added here overrides the theme’s styles and is not touched by theme updates. It is the right place for small fixes, such as:

.site-header { padding: 12px 0; }
.entry-title { letter-spacing: 0.5px; }

Use your browser’s Inspect tool to find the right class names.

3. Bigger changes with a child theme

When you need to change template files or add PHP, use a child theme. The WordPress developer handbook says a child theme lets the parent theme update without losing your changes. Editing the parent theme’s files directly is the classic mistake: the next update replaces them and your work is gone.

A child theme needs only a folder in wp-content/themes/ with a style.css file. The Template line must match the parent theme’s folder name exactly:

/*
Theme Name: Astra Child
Template: astra
*/

Then add a functions.php that loads the styles. If the parent already loads its own stylesheet, you only need the second line:

<?php
add_action( 'wp_enqueue_scripts', function () {
    wp_enqueue_style( 'parent-style', get_parent_theme_file_uri( 'style.css' ) );
    wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'parent-style' ) );
} );

To change a template, copy that file (for example header.php) from the parent into the child theme and edit the copy. WordPress uses the child’s version. The child’s functions.php does not replace the parent’s; both load, the child’s first.

Many premium themes ship a ready child theme in the download package. Use it instead of writing your own. For Divi, we have a free Divi child theme.

Warning before you switch to a child theme

This catches a lot of people. Customizer settings and Additional CSS are saved per theme. When you activate a new child theme, WordPress carries over your menu locations, but not the parent’s Customizer settings or its Additional CSS. Your logo, colors and custom CSS can seem to disappear. They are still saved for the parent theme, but you have to set them again in the child (or export them with a plugin such as Customizer Export/Import first). Set up the child theme early, before you customize much.

Customizing a block theme

1. Styles

Go to Appearance > Editor > Styles. Here you set the color palette, typography, layout and the look of each block type for the whole site. There are also style variations, ready-made looks that come with the theme.

2. Templates and template parts

In the Site Editor you edit templates (single post, page, archive, 404) and template parts like the header and footer with blocks. No code needed.

Know how this is saved: WordPress stores your edited template in the database, not in the theme files. That has two effects. Theme updates do not overwrite your version, but you also stop getting the theme author’s improvements to that template until you reset it. And the saved templates belong to the active theme, so they do not follow you if you later switch to a child theme.

3. Additional CSS

Since WordPress 6.2, block themes have custom CSS in the Site Editor: in Styles, open the actions menu (three dots) and choose Additional CSS. Each block type under Styles > Blocks also has its own Additional block CSS field.

4. Keep your changes in the theme

If you want your Site Editor changes in real theme files, or a child theme of a block theme, use the free Create Block Theme plugin from the WordPress team. It can create a child theme that keeps your changes, save Site Editor changes into the active theme, and export the theme as a zip. Its plugin page warns that saving can permanently change the theme, so make a backup first.

What not to do

  • Do not edit the parent theme’s files. An update replaces them.
  • Avoid the Theme File Editor on a live site. It is under Appearance for classic themes and under Tools for block themes. One PHP typo can take the site down, and there is no undo. Many hosts and security setups turn it off with define( 'DISALLOW_FILE_EDIT', true ); in wp-config.php. Edit files over SFTP or in a staging copy instead.
  • Do not stack plugins for small style tweaks. A few lines of Additional CSS do the same job without extra load.
  • Do not skip the backup. Back up before any change to templates or code.

Which method should you use?

  • Colors, fonts, logo, layout options: theme options or Customizer (classic), Styles (block).
  • Small visual fixes: Additional CSS.
  • Template changes or PHP: a child theme (classic), Site Editor or Create Block Theme (block).
  • New features, integrations, deep layout changes: custom code in a child theme or a small plugin, ideally by a developer.

Not sure which plugins every theme setup needs? See 5 plugins to install after any theme.

Need a Theme Customized Without Breaking It?

Custom layouts, child theme setup, template changes or a fix after an update went wrong. Get a free estimate from a vetted WordPress developer.

Get a Free Estimate

Frequently asked questions

Will a theme update delete my customizations?

Not if they are in the Customizer, theme options, Additional CSS, the Site Editor or a child theme. Changes made directly in the parent theme’s files are lost on update.

Do I need a child theme?

Only if you change template files or add PHP to a classic theme. For colors, fonts and CSS, the Customizer and Additional CSS are enough.

Why did my settings disappear after activating a child theme?

Customizer settings and Additional CSS are saved per theme. The new child theme starts without them; set them again or import them.

Can I customize a theme without coding?

Yes. Theme options, the Customizer and the Site Editor cover colors, fonts, layouts, headers and footers without code.

Stuck on a theme bug or a customization that went wrong? Our WordPress bug fixing and customization service can help.

Sources