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?
- WordPress 6.4.2 – can’t load editor style css using ‘after_setup_theme’ or ‘admin_init’ actions
- How To extend WP_Customize_Control
- How do I remove a pre-existing customizer setting?
- how can I add an icon/image for a child theme?
- WordPress API Menu/Submenu Order
- Load get_page_templates into select menu
- Missing hashtag with theme customizer header color
- WordPress Customizer Help with FontAwesome Icon
- Hook in parent theme Menu function
- How can I include the js and css file of my custom theme dynamically in header.php
- Undefined index: custom_sidebars
- Create new sidebars trough admin post/page metabox
- Editable screenshot.png in a custom theme developed
- How do child themes work?
- WordPress Customization API overwrite LESS variable
- Protecting work on client’s web host
- get_theme_mod not pulling css colors into header using wp_head
- Why WordPress gets old templates code instead of the last updated ones
- Customizer API way function is_customize_preview() works only in main page?
- How to migrate the menu from the site on my own theme in WordPress?
- Theme customizer live preview JS- Trying to bind to an html image url without luck
- Theme Options Doesn’t Work On WP Multisite
- WordPress two sidebar layout or theme
- Theme automatically inserting “more” tag on every post
- Theme Option’s Save Button is not working
- change the Theme dynamically
- Custom widgets in theme option page
- adding navigation to genesis themes
- wp_deregister_script was called incorrectly
- Extending arrays in parent theme without completely overriding the files
- The content not wrapped in paragraph tags with get_page_by_title()
- Standard Way To Do Custom Work Within A Page?
- Undefined index: debuging error for theme option template snippet
- How to Disable Color Options?
- Import/Export WordPress demo
- WordPress theme Modifications not showing up on live server
- Turning WordPress Into full-featured website?
- What to do when child theme is out of date with parent theme
- Extracting Distance from FacetWP Proximity Function to Display in WordPress Template
- add_action works outside condition but not inside it
- Global Navigation menu in diiferrent wordpress setups
- How do I make it super customisable?
- How to make admin theme option with image slide show?
- Image Size wrong during upload
- Is there any way to show child theme in theme detectors?
- Should I create a child theme for a parent custom theme? [closed]
- I’m new in developing responsive WordPress Theme, so which framework to use or work from scratch? [closed]
- Twenty sixteen – full height
- Theme.json: creating different sections of the color palette
- How to make a multilingual wordpress site to be translated one-to-one without much effort and without using translate?
- ways to create customized theme (hard coded – no pagebuilder)
- Is it ok if I use this tag?
- What’s your workflow for converting a static HTML website to WordPress? [closed]
- My theme is full of error messages in the “Customize” screen, but nowhere else
- Remove nonindex meta tag
- WP Customizer get control value on change
- Execute javscript when theme customizer loads (autosave issue)
- TItle In Latest Post is not using H1 Tag [closed]
- Is child-theme required when modyfing “Appearence > Editor”?
- How to Add Dynamic Sliders to WordPress Customizer with JavaScript
- Export WordPress theme with modifications for other site
- How do I create a single.php file as the default template for single posts in the twentytwentythree theme?
- Why does customize_register only load inside of functions.php for me?
- Confusion about theme’s parent and child functions.php file
- How to Use Webpack with WordPress Script Modules and Enqueue a Custom Class