- This topic has 3 replies, 2 voices, and was last updated 1 year, 6 months ago by .
-
Topic
-
Hello I created a color picker but it is showed below the title, please see the image:
I think is because Z-index porperty
teh code is the follow:
add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' ); function your_prefix_register_meta_boxes( $meta_boxes ) { $meta_boxes[] = array ( 'title' => 'CaracterÃsticas', 'id' => 'Proyecto_Caracteristicas', 'post_types' => array( 0 => 'proyectos', ), 'context' => 'after_title', 'priority' => 'high', 'fields' => array( array ( 'id' => 'logo', 'type' => 'single_image', 'name' => 'Logo del proyecto', 'force_delete' => 1, 'tab' => 'car_generales', ), array ( 'id' => 'img_principal', 'type' => 'single_image', 'name' => 'Imagen Principal', 'required' => 1, 'tab' => 'car_generales', ), array ( 'id' => 'color_principal', 'name' => 'Color Principal', 'type' => 'color', 'size' => 7, 'required' => 1, 'tab' => 'car_generales', ), array ( 'id' => 'color_secundario', 'name' => 'Color Secundario', 'type' => 'color', 'size' => 7, 'required' => 1, 'tab' => 'car_generales', ), ), 'tab_style' => 'left', 'tabs' => array( 'car_generales' => array( 'label' => 'General', 'icon' => '', ), ), ); return $meta_boxes; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.