• Is there a way to override default palette colors through child theme? Here a function that sets color on parent theme that I want to override in child theme.

    public static function get_default_color_palette() {
    		return array(
    			'currentPalette' => 'palette_1',
    			'palettes'       => array(
    				'palette_1' => array(
    					'#FFFFFF',
    					'#3a3a3a',
    					'#3a3a3a',
    					'#4B4F58',
    					'#F5F5F5',
    					'#FFFFFF',
    					'#F2F5F7',
    					'#424242',
    					'#000000',
    				),
    				'palette_2' => array(
    					'#0170B9',
    					'#3a3a3a',
    					'#3a3a3a',
    					'#4B4F58',
    					'#F5F5F5',
    					'#FFFFFF',
    					'#F2F5F7',
    					'#424242',
    					'#000000',
    				),
    				'palette_3' => array(
    					'#0170B9',
    					'#3a3a3a',
    					'#3a3a3a',
    					'#4B4F58',
    					'#F5F5F5',
    					'#FFFFFF',
    					'#F2F5F7',
    					'#424242',
    					'#000000',
    				),
    			),
    		);
    	}

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @norimushi, sorry for the delay.

    Currently, there’s no way to do that. There are three Global Color Palette (GCP) available on the Customizer, you can easily assign different colors to those GCP and switch between them when you would like to change the global color of your site.

    Let us know if you need more help, otherwise please mark the topic as Resolved.

    Kind regards,
    Herman ??

Viewing 1 replies (of 1 total)
  • The topic ‘Override Global Palette for Global customizer’ is closed to new replies.