Title: Additional CSS keeps getting lost
Last modified: April 24, 2023

---

# Additional CSS keeps getting lost

 *  [coluccini](https://wordpress.org/support/users/coluccini/)
 * (@coluccini)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/)
 * Hi!
   Since a few months already, every now and then my wordpress site loses all
   the css rules that I have added via customize / Additional CSS and I have to 
   manually recover it and add it back.
 * 
   The weird thing is that I can find that rules on the DB where it belongs: Table
   wp_posts -> post_type = ‘custom_css’ -> “post_content”But any of that content
   is on the customize / Additional CSS field…Does anybody knows why this might 
   happen?For more context:– The “Enhance CSS customization panel” option is not
   activated. – I have WP Super Cache installer, but I’ve tried to deactivated and
   same thing happended– The theme I use uses WPBakery Page Builder

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/#post-16682782)
 * Please provide a link to your site.
 *  Thread Starter [coluccini](https://wordpress.org/support/users/coluccini/)
 * (@coluccini)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/#post-16682832)
 * It’s that really necessary? Sorry, last time I added the web url in here I was
   receiving email spam from “wordpress expert” during 2 months 😅
   I don’t think
   there is much to see on the web site. From the public point of view, the only
   thing changing is that the inline CSS added as additional CSS is not appearing
   on the rendered HTML (or it is when I fix it).In the admin the css is not the
   corresponding field, but If I run this SQL query on DB:SELECT post_content FROM
   wp_posts WHERE post_type = ‘custom_css’;I do get all the CSS rules.What I do 
   not understand is why all of the suddenmy wordpress installation starts ignoring
   that info from DB
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/#post-16682845)
 * I want to do a view-source to see if the CSS is there. Note that custom CSS is
   theme-specific, so if you change the theme from the one at the time in use when
   you set the CSS, it will not carry forward to another theme.
 *  Thread Starter [coluccini](https://wordpress.org/support/users/coluccini/)
 * (@coluccini)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/#post-16693118)
 * Sorry the late reply, I missed the notification.
   I’ve checked several times and
   when this happens, the CSS is never in the source code (I’m a frontend developer).
   I have never changed the theme since I made the site. The weird thing is that
   this had happened even during times that I have not even logged into the administrator.
   That is why I think that it may be a process that trigger the issue. But even
   then: why if the custom CSS is in the DB is not being applied nor in the frontend
   nor in the custom css admin field?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/#post-16693130)
 * I’m not going to speculate without a link and a screenshot showing the Additional
   CSS panel.
 *  Thread Starter [coluccini](https://wordpress.org/support/users/coluccini/)
 * (@coluccini)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/#post-16693169)
 * Well, so I will have to wait until the issue get triggered again because is currently
   fixed, so the CSS is on the source code and in the Additional CSS panel.
   It happens
   every few weeks…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Additional CSS keeps getting lost’ is closed to new replies.

## Tags

 * [additional css](https://wordpress.org/support/topic-tag/additional-css/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [coluccini](https://wordpress.org/support/users/coluccini/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/additional-css-keeps-getting-lost/#post-16693169)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
