---
url: https://docs.artemsemkin.com/velum/wp/basics/using-the-child-theme.md
description: >-
  Check that the child theme is active, install velum-child.zip by hand, add
  your own CSS to style.css and PHP to functions.php, and see why you update
  only the parent theme and what switching themes resets.
---

# 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](../setup/wizard-and-demo-import) creates the child theme and activates it in its **Install Child Theme** step. Your [download](../installation/download-contents) 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.

::: warning 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](https://docs.artemsemkin.com/velum/wp/images/basics/using-the-child-theme-1.png)

## 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](../installation/installing-the-theme).

![Upload Theme sits next to the Add Themes title](https://docs.artemsemkin.com/velum/wp/images/installation/installing-the-theme-2.png)

#### ▶️ Step 2.

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

![Upload the child theme file, not the parent](https://docs.artemsemkin.com/velum/wp/images/basics/using-the-child-theme-2.png)

#### ▶️ 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](https://docs.artemsemkin.com/velum/wp/images/basics/using-the-child-theme-3.png)

::: warning 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](https://docs.artemsemkin.com/velum/wp/images/basics/using-the-child-theme-4.png)

::: warning 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](../developers/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](../updates/updating-the-theme). Your changes in the child theme stay as they are. Replacing the child theme with a fresh copy erases them.
