Additional CSS Lost After Changing Theme or Updating
Customizer CSS is stored per theme, so a new theme starts empty.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
WordPress stores Additional CSS for each theme. If you switch theme, or the update replaces a modified theme, your CSS seems to vanish but may still be saved.
Step 1: Switch back temporarily

Reactivate the old theme and open Appearance, Customize, Additional CSS.
Step 2: Copy the CSS

Select all, copy and save it to a text file.
Step 3: Switch to the new theme

Paste the CSS into its Additional CSS and Publish.
Step 4: Check for a child theme

If you edited the parent theme's files, an update erased them. Use a child theme.
Step 5: Or use a plugin

A simple custom CSS plugin keeps CSS when themes change.
Step 6: Review the CSS

Some old rules may not match the new theme's class names.
Step 7: Clear caches

Purge and test.
Still stuck?
If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.
Related guides
- WordPress Theme Customizer Preview Blank or Stuck Loading
- WordPress Multilingual Plugins: URLs, Duplicates and SEO Issues
- WordPress Block Editor Fonts and Icons Missing in Editor But Fine on Site
- WordPress Background Images Not Loading on Mobile
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.