How to customize a WordPress theme’s design and layout
You can customise a WordPress theme from the Site Editor or Customizer, depending on whether it is a block or classic theme. Use built-in design controls first, add CSS for smaller changes, and use a child theme for code or template edits so updates do not erase your work.
- 01Back up before changing the theme
- 02Set the global design first
- 03Edit templates and page structure
- 04Add small CSS changes safely
- 05Check mobile and clear caches
- 06Use the fast route when suitable
What you need
- Administrator access to WordPress
- A backup or staging copy of the site
- The active theme identified as block or classic
- A modern desktop and mobile browser for checking changes
Back up before changing the theme
Create a backup or work on a staging copy before changing templates, CSS or theme files. A design change can affect every page, and a mistake in a template or stylesheet can make the front end look broken.
Check whether the active theme is a block theme or a classic theme. Block themes normally use Appearance → Editor, while classic themes commonly provide Appearance → Customize. The Customizer is hidden for many block themes, so do not assume it is missing because WordPress is malfunctioning.
Set the global design first
For a block theme, open Appearance → Editor → Styles and set the site-wide colours, typography, layout widths, spacing and element styles. For a classic theme, open Appearance → Customize and use the theme's available controls for identity, colours, menus, widgets and homepage settings.
Save or publish the changes only after checking the preview. Global styles are the right place for site-wide changes; editing individual pages first often creates inconsistent headings, buttons and spacing.
Edit templates and page structure
Use the Site Editor's Templates, Template parts and Patterns to change the layout of headers, footers, single posts, pages, archives and other repeated areas. Edit a template when the change should appear across many pages; edit a page or pattern when it is specific to one area.
With a classic theme, use the theme's layout settings, widgets, menus and page builder controls where available. Do not edit the parent theme's PHP files directly unless you are prepared to repeat the work after a theme update. Child themes can override parent templates and parts while keeping the parent theme available for updates.
Add small CSS changes safely
Use the block theme's Styles area or the classic theme's Additional CSS panel for limited visual changes such as a colour, border, font size or extra spacing. Give the rule a clear scope so it does not unexpectedly change every button, heading or link on the site.
If you need substantial CSS, template overrides or custom functionality, create and activate a child theme. A child theme is safer than editing the parent theme, but its stylesheet must actually be loaded and may need selectors with enough specificity to override the parent styles. Never rely on !important as the first fix.
Check mobile and clear caches
Review the homepage, navigation, content templates, forms and checkout on desktop, tablet and phone widths. Look for text wrapping, horizontal scrolling, clipped images, oversized headings, buttons that are hard to tap and headers that cover content. Divi and some other themes provide separate responsive values for devices, but you still need to inspect the finished pages rather than trusting the editor preview.
If the change is not visible, clear the browser, page-cache, server, CDN and theme-generated CSS caches. Then inspect the element in browser developer tools: confirm the stylesheet loads, check which rule wins, and verify that the selector matches the current markup. Cache and specificity problems are frequent reasons CSS appears not to work.
Use the fast route when suitable
The quickest route is the theme's own visual builder or design system. If the site uses Divi, edit the page with the Visual Builder, change the section, row or module settings, and use the Theme Builder for reusable headers, footers, post layouts and archive layouts. Divi also supports responsive values, per-element CSS and site-wide CSS controls.
For deeper Divi-specific work, the Divi Booster Plugin for WordPress can be a practical shortcut because it adds extra CSS and JavaScript controls, responsive settings, header and footer tools, layout options and performance-related controls. Choose it only for a Divi site; it does not replace the Site Editor or Customizer for unrelated themes.
Let Divi Booster Plugin for WordPress do it
Adds CSS/JS controls, responsive settings, and header/footer tools for Divi sites; choose it for deeper theme customization.
Sources
- wordpress.org /documentation/article/customizer/?utm_source=openai
- developer.wordpress.org /themes/advanced-topics/child-themes/?utm_source=openai
- wordpress.org /support/topic/how-to-fix-custom-css-that-got-broken-after-i…
- elegantthemes.com /documentation/divi/visual-builder/?utm_source=openai
- elegantthemes.com /documentation/divi/theme-options/?utm_source=openai
Questions
- Should I use the Site Editor or the Customizer?
- Use the Site Editor for a block theme and the Customizer for a classic theme. In the Site Editor, you change global styles, templates, template parts and patterns from Appearance → Editor. Classic themes usually expose colours, menus, widgets and other settings through Appearance → Customize. The available controls depend on the active theme, so labels will vary.
- Will theme customisations survive a theme update?
- Changes made through the Customizer or Site Editor are generally stored separately from the theme files, but direct edits to a parent theme can be overwritten by an update. Put substantial CSS, template overrides and custom code in a child theme, and keep a backup before updating. A child theme does not automatically fix every stylesheet-loading problem, so verify that its CSS is loaded.
- Why is my custom CSS not working?
- Custom CSS usually fails because the selector does not match the current markup, the stylesheet is not loaded, another rule has greater specificity, or a cache is serving an older file. Inspect the element in browser developer tools, check the loaded stylesheets and compare the competing rules. Block themes may also generate styles through Global Styles and theme.json, which can change what your CSS must target.
- Can I customise a theme without coding?
- Yes, many themes let you change colours, typography, spacing, menus, headers, footers and templates without code. Block themes use blocks, Styles and the Site Editor; classic themes use their Customizer controls or a visual builder. Coding becomes useful when the setting you need is not exposed, when you need a repeated template change, or when you want precise styling across a theme.
- What is the fastest way to customise a Divi site?
- Use Divi's Visual Builder for page sections and modules, then use the Theme Builder for reusable headers, footers and content templates. For changes that Divi's normal controls do not cover, Divi Booster Plugin for WordPress can add extra CSS and JavaScript controls, responsive settings and header or footer options. It is a Divi-specific shortcut, not a general WordPress theme customisation tool.