Skip to content

Commit 21729ec

Browse files
committed
Update Latest-Posts-Hover.php
1 parent acc6580 commit 21729ec

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

widgets/Latest-Posts-Hover.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,23 +131,23 @@ protected function _register_controls()
131131
],
132132
]
133133
);
134-
$this->add_control(
134+
$this->add_control(
135135
'height_card',
136136
[
137137
'label' => esc_html__('Height card', 'Latest-Posts-Hover'),
138138
'type' => \Elementor\Controls_Manager::SLIDER,
139139
'default' => [
140-
'size' => 50,
141-
'unit' => 'dvh',
140+
'size' => 450,
141+
'unit' => 'px',
142142
],
143143
'range' => [
144144
'px' => [
145145
'min' => 1,
146-
'max' => 100,
146+
'max' => 1000,
147147
],
148148
],
149149
'selectors' => [
150-
'{{WRAPPER}} .card2' => 'height: {{SIZE}}{{UNIT}};',
150+
'{{WRAPPER}} .card2' => 'height: {{SIZE}}{{UNIT}} !important;',
151151
],
152152
]
153153
);
@@ -1606,7 +1606,7 @@ protected function render()
16061606
background-position: center;
16071607
background-size: cover;
16081608
cursor: pointer;
1609-
height:50dvh;
1609+
height:450px;
16101610
}
16111611
16121612
.info {

0 commit comments

Comments
 (0)