Support » Plugin: Kirki Customizer Framework » Color Option Not Being Added to Typography Control

  • Resolved ThemeAWESOME

    (@tsquez)


    Hey there,

    seems that the color option is not being added to the typography control. I am using what you have on your site, located here https://aristath.github.io/kirki/docs/controls/typography.html:

    Kirki::add_field( 'my_config', array(
    	'type'        => 'typography',
    	'settings'    => 'my_setting',
    	'label'       => esc_attr__( 'Control Label', 'kirki' ),
    	'section'     => 'typography_section',
    	'default'     => array(
    		'font-family'    => 'Roboto',
    		'variant'        => 'regular',
    		'font-size'      => '14px',
    		'line-height'    => '1.5',
    		'letter-spacing' => '0',
    		'subsets'        => array( 'latin-ext' ),
    		'color'          => '#333333',
    		'text-transform' => 'none',
    		'text-align'     => 'left'
    	),
    	'priority'    => 10,
    	'output'      => array(
    		array(
    			'element' => 'h2.entry-title a',
    			'function' => 'css',
    			'property' => 'color,font-family,font-size,line-height,letter-spacing,text-transform',
    		),
    	),
    ) );

    Any ideas?

    P.S. Congrats on getting 3.10 pushed out finally.

Viewing 2 replies - 1 through 2 (of 2 total)
  • DOH…nevermind, seems it has something to do with the nightly build of WP which is 4.9-alpha-41557

    The color option in the Typography control shows up on 4.8.2…sorry for jumping the gun.

    Plugin Author Aristeides Stathopoulos

    (@aristath)

    🙂 Thanks for checking!
    Yeah, 4.9 still has a long way to go… Lots of new features that I can’t wait to implement (like JS hooks, an included code editor etc), but it’s still nowhere near reliable, so I haven’t started testing/working with it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Color Option Not Being Added to Typography Control’ is closed to new replies.