From 2dd21aa6205c355dd44d41b96c59ea20aa2440c1 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 3 Aug 2016 16:18:06 -0400 Subject: [PATCH] removing margin from ad rotate slider --- css/app.css | 3 --- js/app.js | 1 - js/custom/pageSetup.js | 1 - scss/_structure.scss | 15 +++++++++++---- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/css/app.css b/css/app.css index 86c4931..8982425 100644 --- a/css/app.css +++ b/css/app.css @@ -7065,9 +7065,6 @@ footer.main { .off-canvas-wrap .inner-wrap { min-height: 100vh; height: 100%; } - @media only screen and (max-width: 40em) { - .off-canvas-wrap #slideshow { - margin-top: 85px; } } h1 { color: #94bc41; diff --git a/js/app.js b/js/app.js index c3108d6..143d26e 100644 --- a/js/app.js +++ b/js/app.js @@ -56,7 +56,6 @@ $(document).ready(function () { var scrollTop = $(window).scrollTop(); if(scrollTop > 0){ $(sticky).addClass("fixed"); - $(body).addClass("f-topbar-fixed"); } // if(scrollTop == 0){ // $(sticky).removeClass("fixed"); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 398a7b7..de49c62 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -47,7 +47,6 @@ $(document).ready(function () { var scrollTop = $(window).scrollTop(); if(scrollTop > 0){ $(sticky).addClass("fixed"); - $(body).addClass("f-topbar-fixed"); } // if(scrollTop == 0){ // $(sticky).removeClass("fixed"); diff --git a/scss/_structure.scss b/scss/_structure.scss index 8905832..6b6668e 100644 --- a/scss/_structure.scss +++ b/scss/_structure.scss @@ -10,8 +10,7 @@ height: 100%; } @media#{$small-only}{ - #slideshow{ - margin-top: 85px; + } } @media#{$medium-only}{ @@ -20,7 +19,6 @@ @media#{$large-only}{ } -} //6. Main h1 { color: $green; @@ -61,4 +59,13 @@ h6{ #example.element { background-color: transparent; -} \ No newline at end of file +} +@media#{$small-only}{ + +} +@media#{$medium-only}{ + +} +@media#{$large-only}{ + +} -- 2.17.1