Where does WordPress 4.x store custom css?


I’m editing the custom CSS that my theme’s author included via the built-in “Custom CSS” tab in the back end of WordPress. I’d like to edit this info directly, though, with a proper text editor. Where is this info located? It’s not in “style.css” in my child theme, and I can’t figure out where else I should look!


You won’t be happy about this: It’s stored in the database (I just tried it), in the table named wp_options. Search the option_value field for something that’s in your CSS (a class or id name, for example). But – at least in my case (when using the Divi theme) – it’s saved together with tons of other settings in this one field…

Answered By – Johannes

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published