I ended up using default stylesheet rules, which I had removed along the way, and then essentially what happens is when the user modifies the colors using the customizer it overrides the stylesheet rules.
I feel like it’s a bit sloppy doing it this way but it does achieve the desired result. From what I can see, though, there’s no other alternative for the default rules to be enabled because as I understand it the theme customizer writes the user’s values to the DB & that doesn’t occur until individual settings are modified.
Related Posts:
- Editing the custom background CSS
- Modify the Additional CSS section (adding a disclaimer)
- How to add styles set by user in the customizer
- How to disable wordpress from overload my stylesheet styles with customizer styles
- Customize Option Framework
- How to fix an issue with customizer live preview?
- WordPress Customization API overwrite LESS variable
- How To extend WP_Customize_Control
- How to add CSS class to custom logo?
- Solutions for generating dynamic javascript / CSS
- Get entered value of customiser field for live preview
- Theme Customizer : how to create multiple-level panel
- Customizer Active Callback not working
- How to execute conditional script when on new customize.php (Theme Customize) screen
- Trigger Customizer saving process with Javascript only
- Adding customizer styles with wp_add_inline_style
- Why max-width:97.5% on content images?
- why does twenty eleven theme mix up the css measurement units?
- Setting up partial Right-to-Left admin interface
- Adding inline styles from a widget
- Can’t edit style.css in subdirectory of my theme?
- Adding dashicon fonts to the admin of pre 3.8 installs
- Is it possible to display the admin bar while in the Theme Customizer?
- How to Handle CSS for Multiple Header header.php Files?
- How do I get a parent theme modification from a child theme?
- How to Change CSS Variable value in Theme Customizer Live Preview
- Move my theme style.css into a folder
- Enqueued Stylesheets Effecting Admin Styles
- wp_head() not inserting the default stylesheet style.css
- “Display Site Title and Tagline” checkbox not working?
- First completely customized theme, where should I start?
- How to set page template on front using starter content?
- WordPress Customizer Control with React
- How to change the customizer´s sidebar width?
- WordPress 5.8 update problem custom theme styles are overridden by core styles common.min.css
- How i can get widgets areas working in customizer?
- Where is definied the theme location for the main menu in a WordPress template?
- Is it necessary to prefix every css class in a theme framework?
- current-menu-item class not working
- How to disable automatic colors in the Twenty Twenty theme?
- Weekly background code not working
- How can i add edit shortcut icon in wordpress customizer without using selective refresh?
- Add new panel inside parent panel in WP Customize?
- How do the default themes reference style.css?
- Input ordering in wordpress theme customizer
- Unable to pass variable on theme cusomizer add_settings()
- Multiple Page Templates & CSS
- How to add field customizable by the theme editor to your theme?
- Edit footer via customizer
- How do i make a custom section’s setting display the default value in Customizer?
- Font Awesome 5 Free – far working but fas is not? [closed]
- “Add A Widget” button in the Customizer
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- How remove render blocking css from wordpress when you build a theme?
- How to get javascript slider to work! [closed]
- The ‘default’ attribute from $wp_customize->add_setting() method not in db?
- How to modify default controls in WordPress theme customizer
- How to rotate every letter in a title
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- Why in the static pages of my theme are showing these information?
- Broken theme, template is missing
- Having issue with WordPress wp_enqueue_style
- Can I make a Customizer dropdown-pages list include private pages?
- theme-independent CSS/JS files
- How to style bootstrap container in wordpress theme?
- Create something that can be added or removed in Customizer
- Customizer: get_preview_url() inside customize_save_after hook
- Place title (in correct place) above image with opaque background [closed]
- CSS preprocessor file messed up after compiled
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- my single.php is mixup on some post for no reason
- How to format the first line of a post differently?
- Related Post Category Filter
- Let user to upload multiple time
- 3 Level Menu Navigation (3rd Level not displaying)
- How to dynamically set a background image with the customizer without putting the css as an inline-style
- WordPress Custom Theme : Theme Builder vs ACF vs Gutenberg
- fetch all post from wp multisite network and sort all the post in descending order on the basis of “Created by ” term
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Text View (Code View) in WordPress Customizer TinyMCE Editor
- How to generate a rtl.css file for themes?
- Debugging slow WordPress Theme Customizer (Any option similar to Query Monitor)?
- Import settings from another theme
- Load multiple css simultaneously using functions.php
- overlay post title over post’s featured image
- Change site title color on individual pages
- Add multiple sections, settings and controls at once to the Customizer
- Missing hashtag with theme customizer header color
- Customizer_register theme options not saving
- Editable screenshot.png in a custom theme developed
- Using Customizer value in an external PHP file inside a theme
- get_theme_mod not pulling css colors into header using wp_head
- Enqueue Stylesheets After Theme’s “rtl.css”
- WordPress 3.5 + Foundation 5 not working on IE9
- Theme customizer live preview JS- Trying to bind to an html image url without luck
- Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix
- adding navigation to genesis themes
- Header is not showing full width
- How to resize video lightbox popup in wordpress? [closed]
- How can I get rid of the distance when I’m using list-style-type: none? [closed]