• This has happened to me twice in recent months on two different websites — on different hosting companies on sites running different themes. One was running the X Theme on Siteground, and the other running StudioPress on Cloudways.

    The “Additional CSS” in the Customizer has all completely vanished which leaves sites looking weird all over the place since I use it a lot. In both cases, I only noticed after the typical 30 day backup window had expired, so I’m having to pull older manual backups of these sites and it’s really time consuming.

    Is there a certain WordPress, PHP or plugin update that is causing this unintended result?! I use LOTS of “Additional CSS” notes when initially designing sites, so this problem is kind of terrifying me!

    Any thoughts?

Viewing 1 replies (of 1 total)
  • Just to confirm, did you add the CSS to Appearance > Customize > Additional CSS section inside WordPress admin?

    If you did, the Additional CSS is stored in the database: https://ww.wp.xz.cn/support/topic/additional-css-storage-location/.

    As for what may have caused this to happen, did you delete or activate any plugins or change themes recently?

    To avoid having this problem in the future, you could create a child theme and add your custom CSS there: https://developer.ww.wp.xz.cn/themes/advanced-topics/child-themes/.

    If your Custom CSS has been present for a long period of time you may be able to recover it from either Google Cache or Archive.org. On Google if you search for site:yourdomain.com it will bring up a list of all the pages Google has cached of your site. Click on the 3 dot link to the right of a URL listing and then choose Cached. You can then either inspect or view page source to grab your custom CSS. Similarly, on archive.org you can enter your domain name and it will bring up a list of all the times it has cached your website. Click on one of the more recent times and either inspect or view page source to find your custom CSS.

Viewing 1 replies (of 1 total)

The topic ‘Additional CSS in Customizer has vanished!!’ is closed to new replies.