From 7518edecd05e02cdf93382994d954c80fd995cb8 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 3 Aug 2016 16:53:52 -0400 Subject: [PATCH] adding 20px of margin to the adroate slider in large view during resizing and scrolling --- js/app.js | 6 ++++-- js/custom/pageSetup.js | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/js/app.js b/js/app.js index 879594f..71088c8 100644 --- 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"); } }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 84b3efb..9ccbe91 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -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"); } }); -- 2.17.1