From: Anthony Talarico Date: Wed, 3 Aug 2016 20:53:52 +0000 (-0400) Subject: adding 20px of margin to the adroate slider in large view during resizing and scrolling X-Git-Tag: v1.0.0^2~19 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=7518edecd05e02cdf93382994d954c80fd995cb8;p=WP-Themes%2Fpetoskey.git adding 20px of margin to the adroate slider in large view during resizing and scrolling --- 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"); } });