Themes and customising your site
Choose, install and customise a theme with confidence: classic and block themes, the Site Editor, colours and fonts, and what to avoid.
In this lesson you will
- Explain what a theme does
- Tell classic from block themes
- Choose and install a theme
- Customise safely
About 15 minutes
The same content, a different outfit
Rosa’s site works, but it looks like every other site on the internet. She has heard that changing the ‘theme’ can redesign everything with a click. It can, and it is also the place where beginners lose weeks trying a new theme every day. In this lesson you will understand what a theme does, how to choose one with confidence, how to install and customise it and what to avoid.
What a theme controls
| A theme controls | A theme does not control |
|---|---|
| Layout and spacing | Your posts and pages (the content) |
| Colours and fonts | Your users and settings |
| Header, footer and templates | Features such as forms (plugins) |
| How posts and archives look | Your images and media files |
This is why you can change the theme without losing your content. Some themes add their own widgets or special blocks, which may disappear if you switch, so test on a copy first.
Classic themes and block themes
There are two kinds, and it matters for how you customise. A classic theme uses PHP template files and the Customizer (Appearance, Customize). A block theme uses the Site Editor (Appearance, Editor), where headers, footers and templates are built from blocks, like pages. A test site was asked what themes it has and which kind each is, and to read a theme’s settings file and header. The output is real:
Installed themes and whether each is a block theme:
Skills in Minutes classic theme
Twenty Twenty-Five block theme
Twenty Twenty-Four block theme
Twenty Twenty-Three block theme
Twenty Twenty-Five theme.json: 8 palette colours (e.g. Base, Contrast, Accent 1)
Header read from a theme's style.css: {"Name":"Skills in Minutes","Version":"1.0.0","License":"GNU General Public License v2 or later","Text Domain":"skillsinminutes"}
The settings file, called theme.json, lists the theme’s colour palette, fonts and spacing. The header at the top of style.css tells WordPress the theme’s name, version and licence; that comment is the only thing WordPress needs to recognise a theme. Newer WordPress versions favour block themes, and many modern themes are block themes, but plenty of good classic themes remain, so choose by quality and your needs.
How to choose a theme
- Purpose: blog, business, shop, portfolio. Pick one designed for yours.
- Reviews and updates: look for recent updates, many active installs and good ratings.
- Speed: lightweight themes load faster. Demos with huge sliders and effects are usually slow.
- Mobile friendly: open the demo on your phone.
- Accessibility and clean code: look for notes in the description.
- Support: is there documentation and a way to ask questions?
- Price: free themes in the official directory are a good start. Check any premium theme’s licence and renewal terms.
Installing a theme
- Go to Appearance, Themes, Add New.
- Search, or upload a downloaded .zip file with Upload Theme.
- Click Preview to see it with your content.
- Click Activate.
- Check the home page, a post, a page, the menu and the footer, and on your phone.
Customising
- Site identity: title, tagline, logo and site icon (the small picture in a browser tab).
- Colours and typography: choose two or three colours and one or two fonts.
- Header and footer: logo, menu, call-
to- action, contact details and links. - Templates: in a block theme, edit the templates for posts, pages and archives.
- Additional CSS: small style tweaks. Keep a note of what you add.
Less is more. A consistent look, with plenty of white space and readable text, beats a busy design. Use at most two fonts, make text a comfortable size, and check that text has enough contrast with its background so it is readable for everyone.
Child themes, briefly
If you change a classic theme’s code, an update will overwrite your changes. A child theme sits on top and keeps your changes safe. You will build one in the advanced lessons. For now, customise using the settings and Site Editor, which are safe through updates.
Warnings
- Do not download premium themes for free from unofficial sites. They often hide malware.
- Delete themes you do not use, but keep one default theme as a fallback.
- Keep the active theme updated, and take a backup before major updates.
- Do not change themes on a live business site without testing, as menus and widgets may need to be re-set.
Practice
Pick three candidate themes for a site you imagine. Check each one’s last update date, number of installs and mobile demo. Install the best, set your logo, two colours and one font, and look at the site on your phone. Finally note what changed and what stayed the same when you activated the new theme.
Your pages and posts should have stayed the same, while the look changed. If a menu or widget area vanished, assign the menu to a location in the new theme, or re-add the widget, because locations differ between themes.
Changing themes over and over instead of building content. A site’s success depends on useful pages and posts. Choose a decent theme, customise lightly and get on with writing.
Check what you learned
Five quick questions. Pick an answer and you will see straight away whether it is right and why.
What does a theme control?
- Your user passwords
- Your domain
- The look and layout
- Your host
Content stays when you switch.
Where do you customise a block theme?
- The Site Editor
- A text file only
- Your email
- A spreadsheet
Appearance, Editor.
What file recognises a theme by its header comment?
- photo.jpg
- menu.txt
- style.css
- readme.png
The header gives name, version and licence.
Why avoid free copies of premium themes from unknown sites?
- They often hide malware
- They are too fast
- They are too short
- They are blue
Use trusted sources only.
What protects code changes from theme updates?
- A bigger image
- A child theme
- A longer title
- A new tag
You will build one in the advanced lessons.
Summary
- Themes change the look, not your content.
- Block themes use the Site Editor; classic themes use the Customizer.
- Choose by purpose, speed, updates and support.
- Never use pirated premium themes.
Questions
Will I lose my content if I change theme?
No. Posts, pages and media stay. Menus, widgets and theme-specific settings may need setting again.
Are free themes good enough?
Yes, for most sites. The official directory has many well-made free themes. Premium themes add features and support.
What is theme.json?
A settings file in block themes that defines colours, fonts and spacing, and controls what you can change in the editor.
