Skip to content

Using the child theme ​

A child theme holds your own code, so theme updates never overwrite it. It is for custom CSS and PHP. Changes made in Elementor do not need it.

The setup wizard creates the child theme and activates it in its Install Child Theme step. Your download also holds velum-child.zip, which you can install by hand as described below.

Which theme should I activate? ​

Activate the child theme. It looks and works exactly like the parent, because it inherits everything from it, and it keeps your own CSS and PHP safe when the parent is updated. Keep the parent theme installed next to it, since the child theme needs it. Activate the parent alone only if you will never add custom code.

Switching between the two resets some settings

WordPress stores Customizer values per theme, so after you switch between the parent and the child theme, the logos you set in Appearance → Customize → Site Identity, and any Additional CSS, are empty until you set them again. Menus and widgets move over by themselves. Everything built in Elementor stays as it is, since it does not live in the theme. Switch once, early, rather than on a finished site.

Checking that the child theme is active ​

Appearance → Themes

▶️ Step 1. ​

Go to Appearance → Themes. The active theme is the first card and its footer reads Active:. With the child theme active it reads Active: Velum Child.

The child theme carries a Child Theme label on its cover

Installing it manually ​

Appearance → Themes → Add Theme → Upload Theme

▶️ Step 1. ​

Go to Appearance → Themes and click Add Theme, then click Upload Theme. These screens are the same as when you install the theme.

Upload Theme sits next to the Add Themes title

▶️ Step 2. ​

Click Choose file, select velum-child.zip and click Install Now.

Upload the child theme file, not the parent

▶️ Step 3. ​

Go to Appearance → Themes and click Activate on the Velum Child card.

Move the pointer over the Velum Child card to see Activate

Keep the parent theme installed

The child theme needs the parent. Do not delete Velum after you activate Velum Child.

Adding CSS ​

Appearance → Theme File Editor

Write your rules in style.css of the child theme. It loads after the parent's stylesheet, velum-main-style, so your rules override the parent's.

▶️ Step 1. ​

Go to Appearance → Theme File Editor and choose Velum Child under Select theme to edit. The editor opens style.css.

style.css opens first; functions.php is listed under Theme Files

WordPress advises against editing here

WordPress warns that editing a theme in the dashboard is not recommended: a mistake in PHP can break the site. You can also edit the same files on your computer and upload them over FTP.

Adding PHP ​

Put your functions in the child theme's functions.php, which you open from the same Theme Files list. To change a template file, copy it from wp-content/themes/velum/ into wp-content/themes/velum-child/ with the same folder structure and edit the copy. The hooks, events and templates you can build on are in Extending Velum with code.

Does the child theme need updating? ​

No. The child theme has no updates of its own, and its code is yours. When a new version of the theme comes out, update only the parent: see Updating the theme. Your changes in the child theme stay as they are. Replacing the child theme with a fresh copy erases them.