Device Wise Input Group

Example:


$attributes = array_merge( 
    $attributes,
    upb_media_query_based_input_group( 
        array( 
            'id' => 'margin',
            'title' => esc_html__( 'Margin', 'ultimate-page-builder' ),
            'desc' => esc_html__( 'Space between two section', 'ultimate-page-builder' ),
            'type' => 'range',
            'options' => array(
                'min'    => 0,
                'max'    => 200,
                'step'   => 1,
                'suffix' => 'px',
            ),
            'value' => 0,
        ),

         array( 
            'id' => 'padding',
            'title' => esc_html__( 'Padding', 'ultimate-page-builder' ),
            'desc' => esc_html__( 'Padding between two section', 'ultimate-page-builder' ),
            'type' => 'text',
            'value' => '',
        ), 
     )
 );

results matching ""

    No results matching ""