Styling the Customizer

Can't find what you're looking for? Check the github issues or edit this page to add what's missing.

Kirki allows you to change the styling of the customizer using the kirki_config filter:

 * Configuration sample for the Kirki Customizer.
 * The function's argument is an array of existing config values
 * The function returns the array with the addition of our own arguments
 * and then that result is used in the kirki_config filter
 * @param $config the configuration array
 * @return array
function kirki_demo_configuration_sample_styling( $config ) {
	return wp_parse_args( array(
		'logo_image'   => '',
		'description'  => esc_html__( 'The theme description.', 'kirki' ),
		'color_accent' => '#0091EA',
		'color_back'   => '#FFFFFF',
	), $config );
add_filter( 'kirki_config', 'kirki_demo_configuration_sample_styling' );
Edit this page