Recently one of my clients came to me for help. She had accidentally deleted Elementor’s “Default Kit” template. I’d never actually heard of Elementor’s “Default Kit”, but in the Elementor Docs, I learned that this template is where Elementor stores all its Theme Styles.
If you delete the Default Kit, Elementor will automatically create a new one, but that process will remove all the settings stored in your Theme Styles. In other words, “only delete this template if your goal is to completely reset your Theme Styles”. That wasn’t what my client wanted to do, so she called me in to fix the situation.
Step 1: Restore the Default Kit you deleted
My client’s first step was to restore the Default Kit she had deleted. However, after the restore, Elementor was still pulling its Theme Settings from the new Default Kit:

Step 2: Update the “elementor_active_kit” option
Once we’d restored the original Default Kit, we could tell Elementor was still referencing the new Default Kit that it created when my client deleted the original Default Kit. I surmised this had to be a setting stored in the WordPress Options Table. So I pulled up /wp-admin/options.php
to list all of the site’s options. Then I searched for options containing “elementor” and I found what looked like the key setting:

The setting which maps the Default Kit post to Elementor’s Theme Styles is “elementor_active_kit” (we could tell because its value matched the Post ID of the new Default Kit). So, to revert “elementor_active_kit” back to the old Default Kit, I used the WP CLI:
$ wp option update elementor_active_key POST_ID_OF_THE_OLD_KIT
Once I issued the above command, the Theme Styles were restored.
NOTE: It is possible to use /wp-admin/options.php to update options; however, I opted for the WP CLI to make sure I was only affecting one option.
Juan
Thanks a lot Michael! Works like a charm!
Josh
You’re a lifesaver! None of my clients have actually deleted the template, but for whatever reason two of my clients have a weird issue where a new default kit is generated and then applied, so the site resets to default styles. The old/original default kits are in there, so updating this wp_options value put the sites right back to normal!
I’ve been going in manually and recreating the theme styles every time this happens. This is going to save me HOURS.
Thank you, thank you!
@mwender
Awesome! Love to hear it whenever I can help out a fellow dev.
navington
Oh my god .. THANK YOU SOOOOOO MUCH !!!
Jonathan Lopez
thanks for sharing, what plugin do you use to see worpress options on the dashboard? as in the screenshot you show
@mwender
That’s not a plugin, that’s a standard feature of all WordPress installs. To see every option in any WordPress install, visit
/wp-admin/options.php
. There aren’t any internal WP admin links to the URL, it’s just there.