{"id":18999021,"date":"2026-08-21T01:12:00","date_gmt":"2026-08-21T01:12:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/additional-css-disappears-after-wordpress-updates\/"},"modified":"2026-08-21T01:12:00","modified_gmt":"2026-08-21T01:12:00","slug":"additional-css-disappears-after-wordpress-updates","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/additional-css-disappears-after-wordpress-updates\/","title":{"rendered":"Additional CSS disappears after WordPress updates"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am using a self-hosted WordPress website and I have experienced a strange issue with <strong>Appearance \u2192 Customize \u2192 Additional CSS<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After an update, I noticed that the Additional CSS field had suddenly become completely empty, even though I had not manually deleted or changed the CSS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fortunately, I was eventually able to recover the CSS through the WordPress database and its revision history.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, I would like to understand what may have caused this and whether this is a known WordPress issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In particular, I would appreciate your help with the following questions:<\/p>\n\n\n\n<ul>\n<li>Can a WordPress update cause the Additional CSS field to become empty or stop loading its saved content?<\/li>\n\n\n\n<li>Is it possible for the CSS to still exist in the database while the Customizer displays the Additional CSS field as empty?<\/li>\n\n\n\n<li>Are there any known issues related to this behavior?<\/li>\n\n\n\n<li>What is the recommended way to prevent this from happening again?<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The website is using the Astra theme, but the CSS in question was saved specifically through <strong>Appearance \u2192 Customize \u2192 Additional CSS<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I would be happy to provide any additional technical information that may help identify the cause.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you very much for your help.<\/p>\n","protected":false},"template":"","class_list":["post-18999021","topic","type-topic","status-publish","hentry","topic-tag-css"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18999021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18999021\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18999021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}