Skip to content

Commit

Permalink
Update Latest-Posts-Hover.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Daddie2 committed Mar 26, 2024
1 parent 3dffb1e commit 7b7aa86
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions widgets/Latest-Posts-Hover.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ protected function _register_controls()
'default' => [
'url' => \Elementor\Utils::get_placeholder_image_src(),
],
'selectors' => [
'{{WRAPPER}} .info' => 'background-color:{{VALUE}}!important;',
],
]
);
$this->add_control(
Expand All @@ -83,7 +86,7 @@ protected function _register_controls()
'max' => 1,
'step' => 0.1,
'selectors' => [
'{{WRAPPER}} .title' => 'filter:{{VALUE}}!important;',
'{{WRAPPER}} .info' => 'filter:{{VALUE}}!important;',
],
]
);
Expand Down Expand Up @@ -1397,7 +1400,7 @@ protected function render()
position: relative;
width: 100%;
height: 600px;
background-color: ' . $cardColor . ';
background-color: white;
filter:opacity(0.8);
transform: translateY(100%)
translateY(-170px)
Expand Down

0 comments on commit 7b7aa86

Please sign in to comment.