Bug: Color Picker field is showed below the Title field

Support General Bug: Color Picker field is showed below the Title fieldResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15160
    clientes@interficto.com[email protected]
    Participant

    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;
    }
    
    #15213
    clientes@interficto.com[email protected]
    Participant

    Hello Any news for it?

    #15216
    Anh TranAnh Tran
    Keymaster

    Hi Clientes,

    I missed this topic. I've just fixed the bug here. Please try it. New version will come later.

    #15283
    clientes@interficto.com[email protected]
    Participant

    Hello, now is correct, thank you very much Anh.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.