adding 20px of margin to the adroate slider in large view during resizing and scrolling
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 Aug 2016 20:53:52 +0000 (16:53 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 Aug 2016 20:53:52 +0000 (16:53 -0400)
js/app.js
js/custom/pageSetup.js

index 879594f..71088c8 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -70,7 +70,8 @@ $(document).ready(function () {
         } else if(width > 639 && width < 1025){
             $(page_front).css("padding-top", "155px");       
         } else if(width > 1024){
-            $(page_front).css("padding-top", "60px");
+            $(page_front).css("padding-top", "65px");
+            $(slideshow).css("margin-top", "20px");
         }
     });
     $(window).on("scroll", function () {
@@ -85,7 +86,8 @@ $(document).ready(function () {
         } else if(width > 639 && width < 1025){
             $(page_front).css("padding-top", "155px");       
         } else if(width > 1024){
-            $(page_front).css("padding-top", "60px");
+            $(page_front).css("padding-top", "65px");
+            $(slideshow).css("margin-top", "20px");
         }
 
     });
index 84b3efb..9ccbe91 100644 (file)
@@ -61,7 +61,8 @@ $(document).ready(function () {
         } else if(width > 639 && width < 1025){
             $(page_front).css("padding-top", "155px");       
         } else if(width > 1024){
-            $(page_front).css("padding-top", "60px");
+            $(page_front).css("padding-top", "65px");
+            $(slideshow).css("margin-top", "20px");
         }
     });
     $(window).on("scroll", function () {
@@ -76,7 +77,8 @@ $(document).ready(function () {
         } else if(width > 639 && width < 1025){
             $(page_front).css("padding-top", "155px");       
         } else if(width > 1024){
-            $(page_front).css("padding-top", "60px");
+            $(page_front).css("padding-top", "65px");
+            $(slideshow).css("margin-top", "20px");
         }
 
     });