From cf5e0563bad61ccee5c2a1afb5a05eb070dafa37 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 13 Feb 2025 11:43:00 +0100 Subject: [PATCH] wait #7327 --- framework/application/views/helpers/HomeSlideshow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/application/views/helpers/HomeSlideshow.php b/framework/application/views/helpers/HomeSlideshow.php index ea75bf6..42181e2 100644 --- a/framework/application/views/helpers/HomeSlideshow.php +++ b/framework/application/views/helpers/HomeSlideshow.php @@ -25,7 +25,7 @@ class Cubedesigners_View_Helper_HomeSlideshow extends CubeIT_View_Helper_Abstrac } // Slide image is in a separate absolutely positioned div to allow it to be animated with the scale function - $bgc=CubeIT_Graphics_Color::colorToCSS($slide['overlay'], $slide['overlayOpacity']); + $bgc=CubeIT_Graphics_Color::colorToCSS($slide['overlay'], $slide['overlayOpacity']/100); $image_attributes['style'] = 'background-image:url("' . CubeIT_View_Helper_ImageCms::getPath($slide['image']) . '");background-color:'.$bgc.';'; $image_attributes['class'] = 'slide-bg'; $slide_image = $this->view->htmlElement('', 'span', $image_attributes); // making it a span because of existing CSS that affects all divs in this context -- 2.39.5