Skip to content

Commit 7b7aa86

Browse files
committed
Update Latest-Posts-Hover.php
1 parent 3dffb1e commit 7b7aa86

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

widgets/Latest-Posts-Hover.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ protected function _register_controls()
6363
'default' => [
6464
'url' => \Elementor\Utils::get_placeholder_image_src(),
6565
],
66+
'selectors' => [
67+
'{{WRAPPER}} .info' => 'background-color:{{VALUE}}!important;',
68+
],
6669
]
6770
);
6871
$this->add_control(
@@ -83,7 +86,7 @@ protected function _register_controls()
8386
'max' => 1,
8487
'step' => 0.1,
8588
'selectors' => [
86-
'{{WRAPPER}} .title' => 'filter:{{VALUE}}!important;',
89+
'{{WRAPPER}} .info' => 'filter:{{VALUE}}!important;',
8790
],
8891
]
8992
);
@@ -1397,7 +1400,7 @@ protected function render()
13971400
position: relative;
13981401
width: 100%;
13991402
height: 600px;
1400-
background-color: ' . $cardColor . ';
1403+
background-color: white;
14011404
filter:opacity(0.8);
14021405
transform: translateY(100%)
14031406
translateY(-170px)

0 commit comments

Comments
 (0)