From aeac8571ce4aad0c5c89099ab9025d5d3f7b8e78 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 24 May 2021 17:06:07 +0500 Subject: [PATCH] 1234 --- .../tps/reklama/components/advertisement/slider.htm | 8 -------- .../assets/css/components/2-layout/responsive.scss | 10 +++++----- themes/modern2/assets/css/main.css | 10 +++++----- themes/modern2/pages/index.htm | 6 +++--- 4 files changed, 13 insertions(+), 21 deletions(-) diff --git a/plugins/tps/reklama/components/advertisement/slider.htm b/plugins/tps/reklama/components/advertisement/slider.htm index e3387737a..fd5259134 100644 --- a/plugins/tps/reklama/components/advertisement/slider.htm +++ b/plugins/tps/reklama/components/advertisement/slider.htm @@ -35,14 +35,6 @@ // Sliding settings $slideshow.on("afterChange", function (event, slick, currentSlide) { - // Console log, can be removed - console.log( - "Current slide: " + - currentSlide + - ". Setting speed to: " + - ImagePauses[currentSlide] - ); - // Update autoplay speed according to slide index $slideshow.slick( "slickSetOption", diff --git a/themes/modern2/assets/css/components/2-layout/responsive.scss b/themes/modern2/assets/css/components/2-layout/responsive.scss index aa17ab676..64fc884f5 100755 --- a/themes/modern2/assets/css/components/2-layout/responsive.scss +++ b/themes/modern2/assets/css/components/2-layout/responsive.scss @@ -445,10 +445,13 @@ .main { &__body { &-row { - flex-direction: column; - -ms-flex-direction: column; + display: block; margin: 0; } + .banner__mobile { + display: block; + width: 100%; + } &-column { width: 100%; margin: 15px 0; @@ -568,9 +571,6 @@ } } } - .banner__mobile { - display: block; - } } @include xsm-sm { .swiper-slide-content-category { diff --git a/themes/modern2/assets/css/main.css b/themes/modern2/assets/css/main.css index 41a92a4f6..299d0200d 100755 --- a/themes/modern2/assets/css/main.css +++ b/themes/modern2/assets/css/main.css @@ -2419,9 +2419,13 @@ li { } .main__body-row { - flex-direction: column; + display: block; margin: 0; } + .main__body .banner__mobile { + display: block; + width: 100%; + } .main__body-column { width: 100%; margin: 15px 0; @@ -2524,10 +2528,6 @@ li { width: 100%; padding: 8px 0; } - - .banner__mobile { - display: block; - } } @media (max-width: 540px) { .swiper-slide-content-category { diff --git a/themes/modern2/pages/index.htm b/themes/modern2/pages/index.htm index b024ff930..03d927196 100644 --- a/themes/modern2/pages/index.htm +++ b/themes/modern2/pages/index.htm @@ -116,11 +116,11 @@ random = 0
{% partial 'sidebar__cards' %} - + {% component 'right_top' css_class= 'main__sidebar-adv' %} {% partial 'tags' %} - + {% component 'right_middle' css_class = 'main__sidebar-adv' %} {% partial 'calendar' %} - + {% component 'right_bottom' css_class= 'main__sidebar-adv' %}