Elegant Themes Divi Upgrade – Search Form Icon not working

Written by James McDonald

June 25, 2015

If you are using child themes and you have header.php in it then upgrade Divi it might cause the search form to stop working.

The simple fix is to remove your header.php from the Child theme e.g

rm -f blog/wp-content/themes/Divi-child/header.php

If you have header.php customisations you want to keep then you need to copy the new header accross and merge the changes:

# take a backup
mv blog/wp-content/themes/Divi-child/header.php ~/header.php.old

# copy the new header.php to the child theme 
cp blog/wp-content/themes/Divi/header.php blog/wp-content/themes/Divi-child/

# edit to taste

vi blog/wp-content/themes/Divi-child/header.php

1 Comment

  1. ThemeMasterly

    I am using Divi for my client site, suddenly I saw that search Icon of main menu not working, so I am searching and finding your site. thanks


Submit a Comment

Your email address will not be published.

You May Also Like…

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...