From: Vincent Vanwaelscappel Date: Thu, 13 Feb 2025 10:43:00 +0000 (+0100) Subject: wait #7327 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cf5e0563bad61ccee5c2a1afb5a05eb070dafa37;p=bloomsburie.git wait #7327 --- 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