added scroll to top function for off canvas, topbar link left aligned
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 26 Jan 2016 18:16:39 +0000 (13:16 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 26 Jan 2016 18:16:39 +0000 (13:16 -0500)
css/app.css
js/app.js
js/custom/pageSetup.js
scss/_topbar.scss

index 21ec620..f421b83 100644 (file)
@@ -6457,7 +6457,7 @@ header {
     line-height: 1.25;
     padding-left: 15px; }
     .top-bar-section ul li a {
-      text-align: center;
+      text-align: left;
       padding: 0 20px;
       color: #FFFFFF; }
     .top-bar-section ul li:not(.has-form):not(.active) > a:not(.button) {
index 98d446a..3846160 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -190,5 +190,8 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat
             $(this).removeClass('front-page-blocks');
          }
     });
+    $(".menu-icon").on("click", function () {
+       window.scrollTo(0,0);
+    });
 
 });
index 94d07be..80328b7 100644 (file)
@@ -181,5 +181,8 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat
             $(this).removeClass('front-page-blocks');
          }
     });
+    $(".menu-icon").on("click", function () {
+       window.scrollTo(0,0);
+    });
 
 });
index 3a1c8a5..2612647 100644 (file)
@@ -36,7 +36,7 @@
 //                background: $white;
             }
             a {
-                text-align: center;
+                text-align: left;
                 padding: 0 20px;
 //                font-size: 18px;