- This topic has 1 reply, 2 voices, and was last updated 1 year, 4 months ago by .
-
Topic
-
Is it possible to use “editor-color-palette” instead of the iris color picker?
Then define the palette:
add_theme_support( 'disable-custom-colors' ); add_theme_support( 'editor-color-palette', array( array( 'name' => __( 'Light gray', 'genesis-sample' ), 'slug' => 'light-gray', 'color' => '#f5f5f5', ), array( 'name' => __( 'Medium gray', 'genesis-sample' ), 'slug' => 'medium-gray', 'color' => '#999', ), array( 'name' => __( 'Dark gray', 'genesis-sample' ), 'slug' => 'dark-gray', 'color' => '#333', ), ) );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.