diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js index d3698934..6ae0e9e1 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js @@ -130,12 +130,6 @@ new Vue({ setMobileMode () { this.mobileMode = $window.outerWidth() < this.maxWindowWidth; }, - setBackgroundImageMode () { - this.backgroundImageMode = this.getBackgroundImageMode(); - }, - getBackgroundImageMode () { - return $window.outerWidth() < 768 ? 'mobile' : 'desktop'; - }, scrollTop () { this.scroll(0); }, @@ -161,13 +155,6 @@ new Vue({ $nav.addClass('open').find('ul').slideDown('fast'); } }, - setResponsiveBackgroundImages () { - let backgroundImageMode = this.backgroundImageMode; - $('.responsive-bg').each(function () { - let imageSource = $(this).data(backgroundImageMode); - $(this).css('backgroundImage', 'url(' + imageSource + ')'); - }); - }, initDropdownMenuBehavior () { const $dropdownLinks = $('.navbar-main').find('a.dropdown-toggle'); if (this.mobileMode) { @@ -192,11 +179,6 @@ new Vue({ $window.on('resize', () => { this.setMobileMode(); this.initDropdownMenuBehavior(); - let newBackgroundImageMode = this.getBackgroundImageMode(); - if (this.backgroundImageMode !== newBackgroundImageMode) { - this.backgroundImageMode = newBackgroundImageMode; - this.setResponsiveBackgroundImages(); - } }); $(document).on('click', event => { const $clickedElement = $(event.target); @@ -228,8 +210,6 @@ new Vue({ mounted () { Vue.nextTick(() => { this.setMobileMode(); - this.setBackgroundImageMode(); - this.setResponsiveBackgroundImages(); this.initListeners(); this.initFilterpanel(); this.initDropdownMenuBehavior(); diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_herounit.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_herounit.scss index 38a542cb..155a004c 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_herounit.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_herounit.scss @@ -20,8 +20,8 @@ display: block; width: 100%; height: 300px; - background-size: cover; - background-position: right center; + //background-size: cover; + //background-position: right center; @include mq($from: tablet) { height: 100%; } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html index c2382447..4261fc03 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html @@ -14,9 +14,13 @@
-
+
+ + + + + +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html index e2cfba9d..9bc95bf5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html @@ -3,10 +3,15 @@
-
+
+ + + + {image.alternative} + +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html index a9cfbd0f..6bf15464 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html @@ -10,10 +10,14 @@
    -
  • +
  • + + + + {image.alternative} +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/SubpageHeader.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/SubpageHeader.html index 82b25c57..e6c0b47f 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/SubpageHeader.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/SubpageHeader.html @@ -2,10 +2,11 @@ {images -> v:iterator.first() -> v:variable.set(name: 'headerImage')}
-
+ + + + +