1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Creating a Child Theme for site already done with original Divi Theme

Discussion in 'Free Divi Community Forum' started by Matt C, Jun 18, 2020.

  1. Matt C

    Matt C New Member

    Hello, I used Divi about 5-6 months ago to create a site for my wife's new business. Being new to Divi and pretty much Wordpress for that matter, I made the rookie mistake of creating the site with the original Divi theme instead of a child theme. I made a lot of changes in the CSS and some in the PHP files, so I know I needed to change to a child theme soon. I was lucky to find this out before I updated the Divi theme, so my site is not broken.
    My wife has now got new branding for her company and so a child theme is now absolutely necessary. My question is what is the best way to go about creating a child theme for the site now? Should I create it on a different domain (which I have a spare one from the past) and then somehow transfer the files? Or should I just put up a "Coming Soon" on her current site as I build the child theme on that same domain? Or is there another way that I just do not know about that anyone could suggest? I am probably making this way harder than it is, but any help would be much appreciated.
    Also, I really do apologize for the long explanation.
    Thanks in advance!
     
    1. PRO MEMBER PERKS Divi Block Pro - Easy-to-use drag & drop interface to mix & match 456+ premade Divi blocks & export as json file:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You will need child theme if you're editing the core PHP files.

    For CSS, you should've just add it in WP Admin > Divi > Theme Options > Custom CSS, which is safe from updating Divi. If you have child theme, you may paste the CSS in style.css as well.

    Now, how to get an blank child theme? There are plenty of generator out there. Here's one of them: https://divicake.com/divi-child-theme-generator/

    Once you got your blank child theme, you will need to paste those PHP files that you amended into your child theme. For example, if you edited the header.php, you will need to copy the header.php file & paste it in your child theme.

    You should also kept a copy of the current Divi files, in case you missed out anything. Just use FTP to download the files.

    Once all amendment are pasted into your child theme, upload it to your site & activate it. See if it works fine.

    And if it works fine, then try to update Divi & see if it works.

    If it doesn't work fine, then use FTP to upload back the previous Divi files that you downloaded.

    You will then need to check which files that you're missing.
     
  3. Matt C

    Matt C New Member

    Thanks so much for your help! I think I was overthinking it just a tad bit.:) Great suggestion on saving a copy of the current Divi files before updating. I’ll give it a shot and I’m sure it will all go smoothly.
    Thanks again! I’m so glad I found this site. Very helpful and informative.
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More