How to add color picker in theme options

Working code to set color customizer in wordpress theme settings: function color_customizer($wp_customize){ $wp_customize->add_section( ‘theme_colors_settings’, array( ‘title’ => __( ‘Theme Colors Settings’, ‘themeslug’ ), ‘priority’ => 5, ) ); $theme_colors = array(); // Navigation Background Color $theme_colors[] = array( ‘slug’=>’color_section_name’, ‘default’ => ‘#000000’, ‘label’ => __(‘Color Section Title’, ‘themeslug’) ); foreach( $theme_colors as $color ) { … Read more

Is it possible to make WordPress core (iris)colorpicker-wrapper higher instead of making colorboxes scale smaller?

I found what I was looking for here: https://stackoverflow.com/questions/30732181/add-new-row-of-color-palettes-in-iris-color-picker I have several palettes on one page and I added some rows to the code when having more then one palette in one page …setup options… $(‘.my-color-field’).iris(options); $(‘.iris-palette’).css({‘height’:’20px’,’width’:’20px’, ‘margin-left’:”,’margin-right’:’3px’,’margin-top’:’3px’}); $(‘.iris-strip’).css(‘height’,’140px’); //Nr of palette-areas? This is need if you have several //palettes on one page (else the … Read more