diff --git a/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper.html b/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper.html index 0082cb4e7020a13caefe75db84e989abbf8e7712..55acb3281b43e86d92f4805145b8d7abdd372e63 100644 --- a/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper.html +++ b/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper.html @@ -1,5 +1,5 @@ <div class="quiqqer-bricks-promoslider-wallpaper-container"> - {if $isMobile} + {if $isDesktop} {strip} <ul class="hide-on-mobile quiqqer-bricks-promoslider-mobileSlides"> {foreach $desktopSlides as $key => $slide} @@ -42,7 +42,7 @@ {/strip} {/if} - {if $isDesktop} + {if $isMobile} {strip} <ul class="hide-on-desktop quiqqer-bricks-promoslider-desktopSlides"> {foreach $mobileSlides as $key => $slide} diff --git a/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper2Content.html b/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper2Content.html index 47adb2b9ab7005809b656bc0a28f7576fbe73af3..9523cc7c7aae394349d1d63adae202aca02519bf 100644 --- a/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper2Content.html +++ b/src/QUI/Bricks/Controls/Slider/PromosliderWallpaper2Content.html @@ -1,6 +1,7 @@ <div class="quiqqer-bricks-promoslider-wallpaper-container"> + {if $isDesktop} {strip} - <ul class="hide-on-mobile"> + <ul class="hide-on-mobile quiqqer-bricks-promoslider-mobileSlides"> {foreach $desktopSlides as $key => $slide} <li data-image="{image image=$slide.image onlysrc=1}" data-href="{$slide.url}" data-newTab="{$slide.newTab}"> {if $slide.url}<a href="{$slide.url}" {if $slide.newTab} target="_blank" {/if}>{/if} @@ -31,10 +32,11 @@ {/foreach} </ul> {/strip} + {/if} {if $isMobile} {strip} - <ul class="hide-on-desktop"> + <ul class="hide-on-desktop quiqqer-bricks-promoslider-desktopSlides"> {foreach $mobileSlides as $key => $slide} <li data-image="{image image=$slide.image onlysrc=1}" data-href="{$slide.url}" data-newTab="{$slide.newTab}"> {if $slide.url}<a href="{$slide.url}" {if $slide.newTab} target="_blank" {/if}>{/if}