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 can I add an icon/image for a child theme?
- What are the advantages and disadvantages of Option Tree over the Customization API?
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Best practice way to implement custom sections into a WordPress theme
- Add a preview to a WordPress Control Panel
- Can we add more than one control under a setting in WP theme customizer?
- Widgets panel not displaying in the Theme Customizer
- How do I get my child-theme to work with my theme’s includes folder?
- CSS in child theme not overriding the parent theme [closed]
- WordPress Theme customisation CSS
- Get background color for Live Preview with Theme Customization API?
- Optimal solution to develop a wordpress theme?
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- Nesting Functions within Functions
- De-registering parent style sheet css recommended?
- Can I customize any WordPress parent block-based theme template files by child theme like a parent classic theme?
- WordPress Multisite: Have the same header and footer of main-blog on all sub-blogs
- Am I supposed to create a child theme for every theme I use?
- Custom Script Section Only Echoes Text
- WP Customize refresh problem
- Set multiple templates per post
- Creating Theme Options Page
- Location of theme options page menu icon
- How to add new args data in $wp_customize->add_setting?
- Hide header texts (Title & Tagline) in custom-header.php
- Customizer: Unique identifier that distinguishes which image upload control is uploading an image
- How to add “Template” option in page attributes panel?
- JavaScript stops working on selectively refreshed sections one inside the other
- Folder name for a pro version of a WordPress.org theme?
- How can I make my options in an array and store theme in WP options one DB row?
- Using WordPress’ Theme Customizer to select page templates that update layout in the preview
- How do i place same widgets multiple time by default on theme activation?
- Theme Customizer not loading JS for live preview
- Replace function in a child theme
- Can’t remove DIV from hooks in Storefront child theme [closed]
- Default Text not showing from customizer
- How do I use a color from theme options?
- Is there any way to register custom background images like header images?
- How to create and populate with few links a menu in child theme functions.php?
- How to make javascript work on theme options page
- Consequences if using PHP include TEMPLATEPATH?
- Customizer Color Control Not Working
- Copying the theme style files and images to duplicate the website but with a difference
- How to set Post meta-box defaults based on the choices made by user in Customizer?
- not getting API setting saved confirmation message after update on option page
- Do I need to re-import Susy to work with it in a child theme? [closed]
- Let user to add input fields on theme option page
- Converting a theme to a child theme in a network
- Understrap-child conditional js script
- How to register dynamic settings in WordPress Customizer?
- How to change listing type permlink?
- How can I access variables from theme in child theme? [closed]
- Fatal error: Class WP_Customize_Image_Control not found
- Child theme menu not appearing in Twenty Seventeen
- Edit Product Archive design for Woo theme
- How do I remove header/page-title image in farvis theme? [closed]
- Move the social media icons to the left of a WordPress nav menu for Soledad child Theme
- How to connect two child themes on different sub domains to the same base theme
- Customizer API way function is_customize_preview() works only in main page?
- The content not wrapped in paragraph tags with get_page_by_title()
- Import/Export WordPress demo
- Global Navigation menu in diiferrent wordpress setups
- WP Customizer get control value on change
- Execute javscript when theme customizer loads (autosave issue)