From: Anthony Talarico Date: Thu, 28 Jan 2016 15:55:21 +0000 (-0500) Subject: aligning topLinks offcanvas menu X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=211a0714251098dc006276a9d4df2b0e1bdd2081;p=WP-Themes%2Fglmthemes%2Fsaultstemarie-theme.git aligning topLinks offcanvas menu --- diff --git a/css/app.css b/css/app.css index 23a9f30..5677636 100644 --- a/css/app.css +++ b/css/app.css @@ -6658,9 +6658,12 @@ header { min-width: 350px; } } #menu-top-menu-1 { - margin-left: 9px; + margin-left: 15px; margin-top: -40px; } +.offCanvasLinks { + width: 89%; } + @media screen and (max-width: 1024px) { main.page-front { padding: 0; } } diff --git a/js/app.js b/js/app.js index 7f4a892..8b10bb9 100644 --- a/js/app.js +++ b/js/app.js @@ -219,5 +219,6 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat }); $("#menu-top-menu-1").children("li").children("a.toggle").attr("href", "javascript:void(0)"); - + + $("#menu-top-menu-1").children("li").children("a:nth-child(1)").addClass("offCanvasLinks"); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 2f6ea88..d68c107 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -210,5 +210,6 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat }); $("#menu-top-menu-1").children("li").children("a.toggle").attr("href", "javascript:void(0)"); - + + $("#menu-top-menu-1").children("li").children("a:nth-child(1)").addClass("offCanvasLinks"); }); diff --git a/scss/_topbar.scss b/scss/_topbar.scss index 1338b22..8fa9c30 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -262,6 +262,7 @@ .top-bar-section ul li:nth-child(5) .dropdown > li { width: 100%; } + #headerLinks > ul#menu-top-menu > li.menu-item:nth-child(1) > ul.dropdown{ margin-left: -105px; min-width: 300px; @@ -284,6 +285,9 @@ } } #menu-top-menu-1{ - margin-left: 9px; + margin-left: 15px; margin-top: -40px; +} +.offCanvasLinks{ + width: 89%; } \ No newline at end of file