| @@ -38,8 +38,9 @@ | ||
| 38 | 38 | ], |
| 39 | 39 | 'button_height' => [ |
| 40 | 40 | 'label' => esc_html__( 'Height', 'shopbuilder' ), |
| 41 | 41 | 'type' => 'slider', |
| 42 | + 'mode' => 'responsive', | |
| 42 | 43 | 'range' => [ |
| 43 | 44 | 'px' => [ |
| 44 | 45 | 'min' => 10, |
| 45 | 46 | 'max' => 200, |
| @@ -45,9 +46,9 @@ | ||
| 45 | 46 | 'max' => 200, |
| 46 | 47 | ], |
| 47 | 48 | ], |
| 48 | 49 | 'selectors' => [ |
| 49 | - $widget->selectors['button_height'] => 'height: {{SIZE}}{{UNIT}};', | |
| 50 | + $widget->selectors['button_height'] => 'height: {{SIZE}}{{UNIT}}!important;', | |
| 50 | 51 | ], |
| 51 | 52 | ], |
| 52 | 53 | |
| 53 | 54 | 'button_width' => [ |
| @@ -65,9 +66,9 @@ | ||
| 65 | 66 | 'max' => 100, |
| 66 | 67 | ], |
| 67 | 68 | ], |
| 68 | 69 | 'selectors' => [ |
| 69 | - $widget->selectors['button_width'] => 'width: {{SIZE}}{{UNIT}};', | |
| 70 | + $widget->selectors['button_width'] => 'width: {{SIZE}}{{UNIT}}!important;', | |
| 70 | 71 | ], |
| 71 | 72 | ], |
| 72 | 73 | |
| 73 | 74 | 'button_tabs_start' => [ |
| @@ -129,9 +130,9 @@ | ||
| 129 | 130 | 'label' => esc_html__( 'Border Color', 'shopbuilder' ), |
| 130 | 131 | 'type' => 'color', |
| 131 | 132 | |
| 132 | 133 | 'selectors' => [ |
| 133 | - $widget->selectors['button_border_hover_color'] => 'border-color: {{VALUE}};', | |
| 134 | + $widget->selectors['button_border_hover_color'] => 'border-color: {{VALUE}}!important;', | |
| 134 | 135 | ], |
| 135 | 136 | ], |
| 136 | 137 | 'button_hover_end' => [ |
| 137 | 138 | 'mode' => 'tab_end', |
| @@ -152,9 +153,9 @@ | ||
| 152 | 153 | ], |
| 153 | 154 | 'size_units' => [ 'px' ], |
| 154 | 155 | 'separator' => 'before', |
| 155 | 156 | 'selectors' => [ |
| 156 | - $widget->selectors['button_border_radius'] => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', | |
| 157 | + $widget->selectors['button_border_radius'] => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}!important;', | |
| 157 | 158 | ], |
| 158 | 159 | ], |
| 159 | 160 | 'button_padding' => [ |
| 160 | 161 | 'label' => esc_html__( 'Padding (px)', 'shopbuilder' ), |