I would recommend a color option. Generally, a color option just loads a separate style sheet. E.g., loading the style-blue.css
style sheet would include all those elements you wanted to be blue. (You would load this in addition to your main style sheet.) This is how many themes work, so this a proven approach. This also takes advantage of caching, which will speed things up and reduce server load.
However, if the amount of code required to make the changes is small (under 20 lines, say), I would just use the customizer’s Custom CSS option.
Related Posts:
- Alignment Problem [closed]
- Is it possible ( or advisable) to allow open access to the new theme customizer for potential clients?
- Add a dropdown to theme customizer
- How to add Color Picker in Theme Options for the following?
- WordPress Customizer Typography: How to load just the unique Google Fonts?
- How do I get a parent theme modification from a child theme?
- How to remove menus section from WordPress theme customizer
- How to hook CSS file according to theme selection in the customizer section
- How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?
- Change setting name in Customizer and keep the data
- after_setup_theme, Global Variable and Theme Customizer
- get_option in header.php not returning value from customizer
- Internal error 500 accessing Theme > Customize
- Using an if statement in the theme customizer page
- How to disable wordpress from overload my stylesheet styles with customizer styles
- How to enqueue javascript for WP Customize options sidebar?
- Change WordPress header color using customizer
- Avada Child Theme Development
- Questions from a new WP Dev [closed]
- WP Customazation API doesn’t save the default Value
- How to customize this theme? [closed]
- Customize Option Framework
- Related Post Category Filter
- In wordpress customizer div still showing even if I hid it with javascript
- Customizer API Multi Sections in single Panel
- What is an alternative to not using child theme to customize a WordPress theme?
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Duplicate child theme incl. design changes
- Debugging slow WordPress Theme Customizer (Any option similar to Query Monitor)?
- how can I re-utilize and class on a child theme
- Customizer_register theme options not saving
- Using Customizer value in an external PHP file inside a theme
- “No Data Received” error in Chrome every time i try to update the theme functions file
- trying to figure out how to use more that one image upload in the same section in theme customizer
- How to show associated fields if checkbox is checked in customize widget screen using wp_customize?
- How do I remove a pre-existing customizer setting?
- WordPress API Menu/Submenu Order
- Custom Image section in Customizer
- What WP folder can I use to write files to?
- Adding Action Hooks In Parent Theme For Easier Child Theme Customization
- Best practice (forward compatibility) for theme options
- Add colors to existing color palette without replacing it
- How to deploy a new theme/theme options from staging to production site
- esc_url not working within add_settings_field callback
- WordPress Errors in generated by theme check plugin [closed]
- Checking if there is an Image inserted – if not don’t display anything
- Default header image does not display
- Responsive Images – Generating multiple images from Theme Customizer control upload?
- Can a child theme based on Starker theme be released as free to use theme for public use?
- Modify the Additional CSS section (adding a disclaimer)
- Changing order title and featured image in blog post (Astra theme)
- wordpress custom theme import and export options for sample data [closed]
- how can I remove the sidebar from my wp homepage [closed]
- WordPress not registering Theme Customization Section
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- For best DB performance should I serialize all theme options together or by type?
- qTranslate with my own theme and settings
- Override template file i subfolders
- What happens to child theme if I change to new version of parent theme?
- Include Parent functions.php in Child Theme functions.php
- Display theme layouts [closed]
- Is accessing theme and using customizer GPL distribution?
- Is it possible to make *.js and folders visible in theme-editor
- How do i place same widgets multiple time by default on theme activation?
- filemtime(): stat failed warning within a child theme
- How can I override a require() used in functions.php of parent theme to my child theme
- Is there any way to register custom background images like header images?
- Using a starter theme vs starter theme with child theme
- How to transfer one domain to another domain without losing theme options (customizer)?
- How to make javascript work on theme options page
- Theme Customizer not displaying saved values in wp_head (CSS)
- How to allow certain PHP functions when using sanitize_callback in the word press customizer
- where is real values of variables?
- How to allow users to create their own website within my domain? [closed]
- Theme customizer – can’t add section/settings
- Editing my theme to try to place the default header at the top of the page breaks the rest of the page content
- using Options Framework – can “theme-textdomain” domain be changed?
- Need advice on theme customizer and child themes
- WordPress custom menu can’t show 3. level submenu
- Gallery functionality in custom theme
- How to copy page/post from one theme to another?
- Why front-page.php doesn’t show content of file instead shows loop
- Why does wp_customizer default values do not apply when theme is installed for the first time?
- Theme functions don’t work as expected in partial included via get_template_part() after custom query using Ajax [duplicate]
- How Do I Create a WordPress Demo Site with Limited Admin Access
- What is difference between add_theme_support and Theme Customization API?
- How can I fix my theme header for my CSS stylesheet?
- How to show Custom Field Value in Woocommerce Shop Page
- how to create export / import theme options in wordpress without plugin
- How to create multiple customizer controls in one control
- WordPress Customization API overwrite LESS variable
- How to migrate the menu from the site on my own theme in WordPress?
- Extending arrays in parent theme without completely overriding the files
- WordPress theme Modifications not showing up on live server
- add_action works outside condition but not inside it
- Should I create a child theme for a parent custom theme? [closed]
- ways to create customized theme (hard coded – no pagebuilder)
- My theme is full of error messages in the “Customize” screen, but nowhere else
- WP Customizer get control value on change