Complete Divi Child Theme Guide For 2023 And Beyond

by | Last updated May 9, 2026 | Divi Tutorials

create divi child theme

What is a Child Theme?

A child theme is an active theme that inherits the look, feel, and functions of the parent theme that’s inactive.

When a modification is made to the child theme, they are kept separate from the parent theme’s files – ensuring that a new update on the parent theme doesn’t interfere with your modifications.

It is the best method of making significant changes to your Theme while still being able to accept updates from your original Theme developer.

Why is a Child Theme important?

One of the best ways of making sure that your WordPress website stays clear of cyber-attacks is by updating the WordPress core, plugins, and themes. It is a brilliant thing to do, but also dangerous.

For example, when you update a WordPress theme, the entire theme files are deleted, and the latest version is installed where the old one used to sit. That means, all the customizations made to the theme files get deleted – something that might mess up your website design.

So, to avoid that from happening, you need a child theme.

Does Divi Need a Child Theme?

Divi, just like any other WordPress theme gets deleted, and a new version is installed, deleting all the customizations made to the theme files.

So, yes, Divi does need a child theme.

It is important to note that if you place customizations into the Divi Theme Options Panel, like Custom CSS, they are safe because the Theme automatically saves them into the database. And the database is never touched during the update process.

When Do You Need Divi Child Theme?

If you’re doing any of the below customizations, then your changes are at risk of being deleted when you update Divi Theme if you do not use a Divi child theme.

  • If you are making changes to Divi’s PHP theme template files such as a header.php, footer.php, single.php, 404.php, etc.
  • If you are adding custom functions or code snippets to functions.php.
  • If you are customizing the theme’s javascript files or adding lots of new javascript.
  • If you are making edits/additions to ANY file that is within Divi’s theme files.
  • If you don’t want clients to see any code that you saved in Theme Options so that they don’t mess with it and break something.

Types of Divi Child Themes

There are two types of Divi Child Themes:

  • ZBlank Divi Child Theme
  • ZPremium Divi Child Theme

Blank Divi Child Theme

A blank child theme, usually referred to as a standard child theme, or “bare bones” child theme, is comprised of at least two files, style.css and functions.php that is added to a WordPress installation after the parent theme.

These files will take over the functionality of the parent theme and override certain files in order to keep the site modifications and functionality made by the web developer.

You can create your own child theme from scratch, use a child theme generator, use a plugin or download our free blank child theme.

We’ll get to that in the next section.

Premium Divi Child Themes

A premium Divi Child Theme is a fully designed website template that are created and sold to help give Divi web designers a starting point for a new web design project.

There are lots of 3rd party Divi developers that create premium Divi child themes that you can purchase from marketplaces like Divi Cake and Divi Marketplace by Elegant Themes.

The premium Divi child themes have the same files, style.css and functions.php, except with more code in them.

Also, they have additional files with customizations as well.

How to Create a Divi Child Theme

There are four different methods of creating a Divi child theme:

  • Zusing our free blank Divi child theme (easiest)
  • Zmanually with code
  • Zusing a divi child theme generator
  • Zusing a WordPress plugin

1. Download Free Blank Divi Child Theme

The easiest way to get a child theme on your site is to use our free blank Divi Child theme. This child theme has nothing but the essential elements ready for you to add your own customizations.

create divi child theme

Click the download button above and enter your email, and we’ll automatically send you the blank child theme for free.

Once you’ve downloaded the child theme, you can install and activate it, and use it as-is. Or, you can customize the name, author, links, etc. — and then add your custom styling, custom functions, etc.

2. Creating a Child Theme Manually

In this section, you will learn how to manually create a Divi Child theme from scratch. This method is great for aspiring WordPress developers.

For you to become an experienced WordPress developer, it is recommended that you know how to create a child theme from scratch and also understand how it works.

Well, this sounds a bit technical, but trust me, it is easier than you may think.

We are going to manually create Divi Child theme in three simple steps.

Let’s dive in.

Step 1: Create Style.CSS File

We learned that a child theme is made up of at least two files: style.css, and functions.php.

We’re going to start with the style.css file.

This file is for telling WordPress the details of your child theme, and can also be used to add custom CSS that you want included in your child theme.

Here is how to create the style.css file:

Create a folder on your computer and name it Divi Child Theme.

Then, create a file within the folder and name it style.css. The name has to be style.css EXACTLY for WordPress to read it correctly. To create the file you can use a text/code editor like Notepad++. Or you can use the default text editor tool that comes on your computer. If you are having difficulty creating a file from scratch, you can download our sample style.css file for free and edit it. Once downloaded, unzip then add to the folder you just created in the steps above.

Next, add the following to the style.css file:

/* Theme Name: Divi Child Theme Theme URI: https://divibanks.cloud Description: Child Theme for Divi Author: Divi Banks Author URI: https://divibanks.cloud Template: Divi Version: 1.0.0 */ /*****Add any custom CSS below this line*****/
Now customize what you just pasted above. You can change anything you want, except for the template name (Divi). You can customize the theme author, links, descriptions, theme name, etc. to match your brand!

Step 2: Creating the Functions.PHP File

The second important file for a child theme is the functions file. This is for supporting Divi’s stylesheet as well as for any additional functions you’d like to add.

Here is how to create the functions.php file:

Create another file in the Divi Child Theme folder and name it functions.php

Also, you can download a sample functions.php file here.

Next, add the code below to your newly created file, and optionally add any custom functions. If you downloaded our sample file from above, you don’t need to do anything further unless you would like to add custom functions of your own.

<?php
function divi__child_theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘https://1cjy3t17q2e1435g023mo061-wpengine.netdna-ssl.com/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘divi__child_theme_enqueue_styles’ );

//you can add custom functions below this line:

Step 3: Creating a Screenshot

The last part after creating the style.css and functions.php files is to create a screenshot. I’m petty sure you don’t want a blank space where the image should be on the WordPress themes page.

The screenshot should have dimensions of 880x660px, either as a .png or.jpg file type.

Also, the screenshot should be named exactly as screenshot.png or screenshot.jpg for WordPress to recognize it.

Once you’ve added your screenshot image, your Child Theme folder should look like this:

divi child theme

Finally, compress the folder to .zip file type and then upload to your WordPress website.

You can upload your Divi Child Theme to your WordPress website the same way you uploaded Divi: Appearance > Themes > Upload, then click Activate!

You should see something that looks like this:
And that’s it! Congrats, you’ve successfully created your own blank Divi Theme child theme.

Editing Template and Other Theme Files of a Divi Child Theme

Thinking about making customizations to the Divi Child Theme files? Well, we are about to get into it.

Actually, the way it works is for any file that is in your child theme that is also in your parent theme, WordPress will use that file instead. The exceptions are the style.css and functions.php files. Both the parent and the child files are used there.

If you want to add any custom functions to your Divi child theme, you just need to write them in your child themes functions.php. But for editing other files, you’ll need to go the extra mile.

Let’s look at it step by step.

For example, you have created a Divi child theme. Now you want to change how 404 page is displayed in the Child Theme. The 404 page page template is located at wp-content/divi/404.php

Step 1: Create a 404.php in your child theme folder. But to ensure it will overwrite the parent theme we have to follow the exact file name & structure.

Step 2: Create a folder and place the file inside that folder. Make sure the path looks exactly like the parent theme.
Parent Theme : divi/404.php
Child Theme : divi-child/404.php

Step 3: Now you can write your own code in the 404.php and it will overwrite parent file.

Using this method you can customize and overwrite any template of parent theme. Make sure file name and folder path are the same.

This may look a little bit tricky for now, but with time, you will get used to it. Continue playing around with it and you will become a child theme editing pro in no time.

3. Using a Divi Child Theme Generator to Create a Child Theme

This method basically involves the use of already available online tools to generate Divi Child Themes.

These child theme generators let you add your theme information, including the image you want for the screenshot, then generate a blank child theme with the three basic files: style.css, functions.php, and screenshot.png

Here are some of the Child Theme Generators you can use to create a child theme:

4. Using a Child Theme Plugin to Create a Child Theme

The fourth and final method for creating a Divi child theme is to use a plugin. There are lots of free plugins that you can use to create a Divi child theme quickly and easily.

Below are some plugins to consider when using this method:

FAQs: Divi Child Themes Questions

Still have questions about Divi Child Themes that you’d want answers to? Well, we have answered some of theme in this section. If you still have more questions (not covered in this section), use our comment section to engage with us. We’ll be happy to help.

Do I need a Child Theme for Divi?
You really don’t need a child theme if you are not going to edit the core files, PHP and JavaScript. If you are only going to add custom CSS, then you can do that on the Divi Theme Options panel.

If you intend to make advanced customizations, then a child theme would be necessary. This is to avoid losing your customizations whenever there is a new theme update.

What is the difference between a parent theme and a child theme?
What is the difference between a parent theme and a child theme?

A parent theme is the main theme that you want to make customizations to while a child theme is the method of safely storing customizations that won’t get deleted when you update the parent theme.

A Parent theme can exist without a child theme, but a child theme must point to a specific parent theme.

Shop Divi Products

Buy nicely done Divi Layouts, Child themes, and extensions for your next Divi project.

Related Articles

How to Add Padding Around Featured Images in Divi’s Blog Module

How to Add Padding Around Featured Images in Divi’s Blog Module

If you're using the Divi theme for your WordPress website and want to customize the appearance of your blog posts page, one simple tweak you can make is adding padding around the featured images. This can help create a more visually appealing layout and better...

Divi Logo Guide: Everything You Need to Know

Divi Logo Guide: Everything You Need to Know

A professionally designed logo is a powerful branding asset that can leave a lasting impression on your website visitors. Research shows that a well-designed logo can boost consumer trust in a brand by an impressive 75%. But the question most people ask is – how do...

Leave a Comment

4 Comments

  1. Tim Winston

    A very good read. And, thank you for the free blank child theme 🙂

    Reply
    • Patrick

      Thank you. And you are so welcome.

      Reply
  2. Michael

    Thanks for this guide. I’ve just started to use Divi and I think it’s really a great idea to have a child theme.

    Reply
    • Patrick

      I’m glad you found the article helpful. Thank you so much.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

WP101 - FREE WordPress Tutorials

Enter your email address below to gain access to the FREE WordPress training.

You have Successfully Subscribed!

Pin It on Pinterest