How to Use the Divi Space Child Theme Generator

How to Use the Divi Space Child Theme Generator

If you’re creating a WordPress website with Divi, it is highly recommended that you use a child theme in development.

Understanding the concept of a child theme can be confusing at first, but once you see how simple it is to create, install and develop a website using a child theme, using them in your development processes will become second nature.

Child themes are incredibly important, so we encourage you to take the time to get to grips with the content as it’ll help your web design and development processes tremendously.

In the following post, we’ll offer a step-by-step tutorial to show you exactly how to use the Divi Space Child Theme Generator.

As well as the tutorial, we’ll also offer more information into the nature of child themes, why they’re important and how they’ll help your WordPress website development.   

If you’re brand new to WordPress and Divi, we recommend reading the following articles:

  1. How to Download and Install WordPress
  2. How To Install WordPress
  3. How to Setup and Install Divi for WordPress

If you’re still deciding whether Divi is the right choice for your WordPress web building needs, have a look at our Divi Guide.

What is a Divi child theme and why do I need one?

Before jumping into the tutorial, we’ll discuss the topic of child themes, why they’re important and why you should be using one in development. If you want, you can skip ahead to to the tutorial.

What is a child theme?

“A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme.” – WordPress Codex

WordPress works thanks to a series of files that get downloaded from the WordPress repository and then installed on a server. Once the WordPress core files are installed, the wordPress user can choose to use a WordPress theme. WordPress themes (either purchased from a marketplace such as Envato Market or from a vendor such as Elegant Themes) take on the role of the parent theme.

If you are a Divi user, Divi itself is the parent theme.

A child theme is a separate entity to the parent theme that pulls functionality from the parent theme and replaces certain theme aspects, as decided by the web designer. The child theme does not completely override the parent theme, only partially.

A child theme is comprised of a series of PHP and CSS files. The way that WordPress works is by looking first at the files present in the child theme and then to the files of the parent theme. If the web designer has added specific files to the child theme, the code present in these files will be executed and the code in the parent theme will be overwritten. Similarly, if there is no specific file in the child theme, WordPress will run the code present in the parent theme.

Parent and Child Theme File Relationship

For example, think of the 404 error page. By default, the standard Divi 404 error page looks like this:

404 Error Page Divi Default

The Divi 404 error page is served from the file system itself and cannot natively be edited using the Divi builder. If you decide that you’d prefer a different 404 error page, you’ll need you’ll need to create a 404.php file and add it to your child theme.

404 Error Page Custom

This way, WordPress will run the code present in the 404.php file in your child theme and not the Divi default file.

 

Why you should be using a child theme with Divi

As well as giving you the opportunity to create lasting aesthetic or functional changes to your Divi website, using a child theme in development comes with plenty of benefits.

  1. If you begin tinkering around with the WordPress core and parent theme packages files, you could potentially break your website. Using a child theme helps to preserve these files and protect your website against code breaks.
  2. If you have made changes to the WordPress core and/or parent theme packages files, your site edits will be completely wiped out when a theme or WordPress core update rolls around.
  3. While there are a number of ways to add CSS to Divi, one of the most convenient things about using a child theme is that all of your CSS code is kept in one single place.

To read more about child themes, read one of our earlier posts: Everything You Need to Know About Using a Child Theme with WordPress and Divi

 

Different types of child themes

Child themes come in two forms: a standard (or blank) child theme and a premium child theme.

A standard child theme (often referred to as a blank child theme) is comprised of a number of files that is added to a WordPress installation after the parent theme. These files will enqueue the functionality of the parent theme and override certain files in order to preserve the site enhancements made by the web developer.

You can create your own child theme from scratch (for this, you’ll need either a Text Editor program or an IDE (Integrated Development Environment) such as Brackets or Sublime), or you can use the Divi Space child theme generator.

A premium child theme is a fully designed website solution created by third-party developers. Premium Divi child themes come at an additional cost to the Elegant Theme membership, and must be purchased directly from the respective developer’s online stores.

Premium child themes are great as almost every aspect of both web design and development is already complete. Here, the premium child theme designer takes care of the layout design, element styling, font selection, and color choice, and in most cases, animations too. Using a premium Divi child theme means that practically every detail of web design and development is taken care of. All the child theme owner needs to do is purchase the child theme, install it, activate it and enter in custom content.

Divi Space Divi Child Themes

For more information about the different types of child themes, read What Is The Difference Between a Child Theme and a Premium Divi Child Theme.

If you’d like to speed up your Divi web design, browse through our collection of premium Divi child themes available in the Divi Space store.

 

How to Use the Divi Child Theme Generator

Thanks to the Divi Space Child Theme Generator, Divi users can make a child theme for their Divi web project in a matter of seconds.

To begin using the Divi Space Child Theme Generator but the Build a Child Theme button in the navigation menu.

Divi Space Build a Child Theme

Next, you’ll arrive at the generator. Here, enter information that is relevant to the Divi website that you’re building.

Divi Child Theme Generator

Enter the email address that you’d like the child theme to be sent to, then click Generate. In a few moments, you’ll receive an email from Divi Space with your child theme. Within the email, you’ll see a download link. Click on the link and your Divi child theme will automatically start downloading.

Once complete, you’ll see a .zip file in your Downloads folder.

Downloaded Divi Space Divi Child Theme

Do not unzip this file. Leave it as is. Then, login to your WordPress website and navigate to Appearance > Themes. Here, you’ll see the Divi theme already installed and activated. Click the Add New button at the top of the screen.

Divi Space Child Theme Generator 1

Next, you’ll be taken to a screen that’ll show you the free WordPress themes in the repository. Bypass this and click Upload Theme at the top of the screen.

Divi Space Child Theme Generator 2

Once you arrive at the next screen, click the Choose File button and select the child theme .zip file from your Downloads folder.

Divi Space Child Theme Generator 3

Once the file is selected, click Install Now.

Divi Space Child Theme Generator 4

Now, let the installation run its course. Once complete, click Activate.

Divi Space Child Theme Generator 5

After clicking Activate, you’ll automatically be redirected back to the Appearance > Themes dashboard.

Divi Space Child Theme Generator

If you added a screenshot to the generator on the Divi Space website, you’re original image will display here. If not, you’ll see the default screenshot (pictured above).

If you hover over the child theme and click Theme Details, you’ll see all of the relevant information relating to the child theme, as entered into the generator on the Divi Space website.

Divi Space Child Theme Generator 7

Now that you’ve successfully installed and activated your Divi child theme, you’re free to start building your Divi website without worrying about theme updates, code breaks or forgetting about tiny bits of CSS in the modules.

 

We want to hear from you!

We hope this guide has helped you get your first Divi child theme up and running, and that you’re excited to use the child theme generator. Please feel free to share your comments or questions below. We love receiving your feedback!

Thanks for reading!

 

Lisa-Robyn Keown

Lisa-Robyn is a qualified copywriter and brand strategist from Cape Town, South Africa.