Hello I created a color picker but it is showed below the title, please see the image:
https://imgur.com/9ooQW4k
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;
}