It’s stored in the database, within the wp_posts
table, under the custom_css
post type, where the post name is the theme slug. There you also have the related customize_changeset
and revision
post types.
The custom css post ID is also stored in the wp_options
table under each theme mods, e.g. theme_mods_twentysixteen
for Twenty Sixteen.
It’s informative to check out how the custom CSS fetched from the database with:
wp_get_custom_css()
that useswp_get_custom_css_post()
and displayed through the wp_head
action with:
Related Posts:
- FireFox Inspector :: find CSS file related to
- Cannot figure out how to center div in WordPress theme [closed]
- how can I change the background color of all posts on my server?
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- How replace theme styles?
- How do I target this page specifically?
- How do I change the content of an element for a theme without losing the styling?
- Custom CSS File wont work on second Page
- Prevent WordPress from automatically installing a new theme each year
- How do register_sidebar() and get_sidebar() work together?
- How to include own css on wordpress tinymce editor?
- how to override woocommerce specific loop or archive-product.php [closed]
- How to customize the default HTML for WordPress Attachments
- Is it possible to change the attributes of a registered style or script before it fires?
- 2 seperate installation 1 theme same server
- get_theme_mod(); returns nothing
- Custom CSS for full post vs. excerpt (Content Options)
- Create a customizable child theme
- Are there any ‘Coming Soon’ themes for WordPress 3.0?
- Make page template that is just an “include” of another?
- Show attribute description when filtering by that attribute
- How to get WordPress to accept the tag in articles (or other alternatives)
- How do I copy all “extra” data (menus, widgets, etc) from one theme to another?
- woocommerce Add custom field set like billing fields
- How to display post title & excerpt when mouse hovers on an image?
- Updating Existed RocketTheme Theme on WordPress
- CSS to remove “comments count” icon from main page [closed]
- title, content, feature images
- how to add custom css and js on wordpress post editor directly without using .php file
- How to customize core admin pages within a theme?
- TwentyFifteen: How can it show a different color on every post page?
- Theme licensing and permission on changing content [closed]
- @font-face is not working in WordPress
- What changes we need to make to a theme so it can be installed as a MU Theme?
- Updates for a private theme
- Is it possible to add a ribbon in the background of h1 on every page?
- custom theme ,add media not showing images in media library
- For a specific theme, how do I build a list of all the possible theme modification names?
- Child Theme with multiple css files
- Navigation label for page in custom theme
- Different logo on homepage
- CSS Customizations for certain page
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- Installing new theme on running site
- Is there a way to override require_once of the main theme on the child theme?
- Why the css in twenteenfourteen-child theme take no effect?
- How to format text of site subtitle
- how to add custom logo to my template
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- How to query details of images in gallery that is attached to a post
- WordPress broken after domain name change
- Good way to customize admin CSS?
- css media query question [closed]
- How to edit alternate inactive themes in “Appearance -> Customise” screen?
- Remove header title form page through CSS [closed]
- How to create custom layouts and static pages in themes for clients
- Centering one product on a single page [closed]
- How to have multiple WordPress Menus
- Create a Page template selector page
- How To Style Links in Content Area With Tag Automatically?
- How to add WordPress JS Script Links
- Inline-Table under TwentyTwelve not working
- custom css and javascript not working on page defined as template?
- My blog suddenly can’t find my stylesheet?
- WordPress menu: How to make www.link.com/#name never contain current_page_item class?
- Change default Video Player without Plugin
- How to add Custom Css within the Editor?
- Will WordPress updates remove Gutenberg Additional Classes?
- why won’t my custom css load with the enqueue method or any other method?
- CSS style and app.js not loading
- How can I style the Comment Section of a blog post
- How do I make elements in mobile only reverse order?
- Customized Blog/Latest Posts Page
- remove screenshot.png via dashboard
- Allow WP users to sort search result on a videos site
- How to have different background image based on post category
- Delete page titles
- Issue with navigation bar in child theme
- How to narrow the area between buttons on Helium theme sidebar? [closed]
- Two color in one Heading
- How to Password Protect whole site except for some subdirectories
- WordPress Inline Style missing
- Style Radio Buttons inside Edit Page (Custom Fields)
- How do I move my sites to a child theme without loosing customisation?
- How to echo custom styles in css format?
- Background setting isn’t applied to entire sidebar height
- Why, when it comes to custom background and image, does ‘The first value registered’ win?
- Adding css and js to a blank page created with custom template
- Will too many overridden css rules lead to performance issues
- Making custom pages (with an example to explain the goal)
- Integrate Woocommerce to a custom theme
- Edit image alignment in WordPress twentysixteen child theme on attachment page [closed]
- adding new html css to wordpress section from codepen [closed]
- use another theme for just one page
- How do I add custom CSS animations for specific Gutenberg blocks?
- Cannot add custom css in site
- Custom CSS working on home page but not on NEW created PAGE
- Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
- Modifying posts based on category in TwentyTwentyTwo theme
- How to display product variations on same row