Option 1: Adding a Child Theme via File Manager and cPanel
- Create the Child Theme Files:
- On your computer, create a new folder. Name it something like
divi-child
- Inside the folder, create two files:
- style.css
- functions.php
- On your computer, create a new folder. Name it something like
- Access your Website’s cPanel:
- Login to your cPanel Account.
- Navigate to File Manager > public_html > wp-content > themes
- Upload the Child Theme Folder:
- In File Manager, click Upload.
- Upload your
divi-child
folder, containingstyle.css
andfunctions.php
.
- Activate the Child Theme:
- Log in to your WordPress dashboard.
- Go to Appearance > Themes.
- Locate the Divi Child theme and click Activate.
Option 2: Adding a Child Theme via Zipping and Uploading through WordPress
- Create the Child Theme Files:
- Create a new folder called
divi-child
on your computer. - Inside the folder, create two files:
- style.css:
- functions.php
- style.css:
- Create a new folder called
- Zip the Child Theme Folder:
- On your computer, right-click the
divi-child
folder and select Compress or Zip.
- On your computer, right-click the
- Upload the Child Theme to WordPress:
- Log in to your WordPress dashboard.
- Go to Appearance > Themes.
- Click Add New > Upload Theme.
- Select the
divi-child.zip
file from your computer and click Install Now.
- Activate the Child Theme
- After installation, click Activate to start using the child theme.