]> _ Git - bloomsburie.git/commitdiff
wait #7327
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Feb 2025 10:43:00 +0000 (11:43 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Feb 2025 10:43:00 +0000 (11:43 +0100)
framework/application/views/helpers/HomeSlideshow.php

index ea75bf6e6959df0f0658cb8713881310835057dd..42181e2a6e513294daddb31b39fddeeaec3b0adb 100644 (file)
@@ -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