From c8d5390512521f5e1c20fd01e6576d023a563501 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 11 Oct 2017 13:18:18 +0200 Subject: move affinity slider lower on screens < 767px to not collide with the page menu button --- view/css/widgets.css | 8 +++++++- view/tpl/main_slider.tpl | 8 ++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/view/css/widgets.css b/view/css/widgets.css index 6cd61ae6f..cea3a3820 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -57,7 +57,13 @@ li:hover .widget-nav-pills-icons { /* affinity slider */ #main-slider { - margin: 10px 7px 45px 7px; + margin: 10px 7px 4rem 7px; +} + +@media screen and (max-width: 767px) { + #main-slider { + margin: 4rem 7px 4rem 7px; + } } /* posted date */ diff --git a/view/tpl/main_slider.tpl b/view/tpl/main_slider.tpl index 4cc265f59..f5c573970 100755 --- a/view/tpl/main_slider.tpl +++ b/view/tpl/main_slider.tpl @@ -1,5 +1,9 @@ -
-
+
+ +
+
+
+