From: Laury GvR Date: Wed, 12 Jul 2017 20:46:50 +0000 (-0400) Subject: Nav items more readable, footer changed to include logo, items moved within X-Git-Tag: v1.0.0^2~48 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0aab1a4b5865dfe306132bb61f4252bbe02a71f7;p=WP-Themes%2Ftruenorthgolf.git Nav items more readable, footer changed to include logo, items moved within --- diff --git a/css/app.css b/css/app.css index 00b30c4..e3ae6bc 100644 --- a/css/app.css +++ b/css/app.css @@ -6721,7 +6721,8 @@ header#page-header { color: white; } header#page-header .phone-top .phone .icon { color: #b32024; - padding-right: 10px; } + padding-right: 10px; + content: ""; } header#page-header .phone-top .phone .text { color: white; } header#page-header .phone-top .phone .text:hover { @@ -6874,6 +6875,11 @@ video { .top-bar { display: none !important; } } +@media only screen and (min-width: 40em) { + .top-bar-section li:not(.has-form) a:not(.button) { + padding: 0 11px; } + } + .top-bar-section { background: transparent; float: none; @@ -6883,7 +6889,7 @@ video { height: auto; line-height: 1; width: 100%; - max-width: 1000px; } + max-width: 1200px; } .top-bar-section ul li { background: none; padding: 0; @@ -6945,7 +6951,9 @@ video { background: transparent !important; } .top-bar-section > div > ul > li > a { font-size: 12px; - text-transform: uppercase; } + text-transform: uppercase; + font-family: "Montserrat", sans-serif; + letter-spacing: 1px; } .top-bar-section > div > ul > li > a:hover { cursor: default; } .top-bar-section > div > ul > li:hover { @@ -7027,7 +7035,8 @@ main.page-front { border: none; padding: 0; } main.page-front .blocks .block h1 { - font-family: "ingram-wide-2"; } + font-family: "ingram-wide-2"; + color: #000000; } main.page-front .blocks .block h3 { color: #000000; font-family: "ingram-wide-2"; @@ -7041,7 +7050,7 @@ main.page-front { main.page-front .blocks .block p { color: #888888; text-align: center; - font-size: 0.875rem; } + font-size: 14px; } main.page-front .blocks .block .block-text a { color: #b32024; } main.page-front .blocks .block .block-readmore { @@ -8178,24 +8187,33 @@ footer#main { text-decoration: none; } footer#main ul li a:hover { color: #ffc742; } - footer#main .social { - margin-top: 10px; } - footer#main .social img { - margin: 0 2px; } - footer#main .phone-bottom { + footer#main .footer-right { + float: right; text-align: right; margin-top: 10px; } - footer#main .phone-bottom .phone { + footer#main .footer-right > * { + display: block; + width: 100%; + float: right; + margin-bottom: 10px; } + footer#main .footer-right .footer-social img { + margin: 0 2px; + float: right; } + footer#main .footer-right .phone { color: white; text-decoration: none; } - footer#main .phone-bottom .phone .icon { + footer#main .footer-right .phone .icon { color: #b32024; padding-right: 10px; } - footer#main .phone-bottom .phone .text { + footer#main .footer-right .phone .text { color: white; text-decoration: none; } - footer#main .phone-bottom .phone .text:hover { + footer#main .footer-right .phone .text:hover { color: #b32024; } + footer#main .footer-left .footer-logo img { + max-width: 175px; } + footer#main .footer-members-only { + font-size: 16px; } footer#main .address { margin-top: 10px; } @@ -8221,7 +8239,7 @@ img#orb-foot { white-space: nowrap; } #footer_address span#business { white-space: normal; - color: #b32024; } + color: #FFFFFF; } #footer_address img { position: relative; display: block; @@ -8254,28 +8272,27 @@ img#orb-foot { #example.element { background-color: transparent; } -p, a { - font-family: "ingram-wide-2"; } - -h1 { - color: #000000; - font-family: "ingram-wide-2"; } +body { + font-size: 14px; } -h2 { - color: #000000; - font-family: "ingram-wide-2"; } +p, a { + font-family: "ingram-wide-2"; + font-size: 14px; } h1 { + font-family: "ingram-wide-2"; padding: 0; - width: 100%; display: block; - text-align: center; font-weight: 600; - font-size: 21px; + font-size: 32px; line-height: 40px; letter-spacing: 2px; text-transform: uppercase; - color: #212121; } + color: #b32024; } + +h2 { + color: #000000; + font-family: "ingram-wide-2"; } /* for the mobile menu */ aside.left-off-canvas-menu { diff --git a/js/app.js b/js/app.js index c2002cd..8dd6037 100644 --- a/js/app.js +++ b/js/app.js @@ -25,26 +25,26 @@ $(document).ready(function () { // The code below is useful if we want the top-level items to no longer be clickable // cache everything once -// var page = $("body"); -// -// var offcanvas_menu_items = page.find(".left-off-canvas-menu").children("ul.left-off-canvas-list").children('li'); + var page = $("body"); + + var offcanvas_menu_items = page.find(".left-off-canvas-menu").children("ul.left-off-canvas-list").children('li'); // disable the links for top nav items that have subpages -// $('.top-bar-section > div > ul > li').each( function () { -// console.log("test"); -// if ( $(this).hasClass("menu-item-has-children") ){ -// $(this).children("a").on('click', function(e){ -// e.preventDefault(); -// }); -// } -// }); + $('.top-bar-section > div > ul > li').each( function () { + console.log("test"); + if ( $(this).hasClass("menu-item-has-children") ){ + $(this).children("a").on('click', function(e){ + e.preventDefault(); + }); + } + }); // disable the links for off canvas nav items that have subpages -// $('.left-off-canvas-menu > ul > li').each( function () { -// if ( $(this).hasClass("menu-item-has-children") ){ -// $(this).children("a").on('click', function(e){ -// e.preventDefault(); -// }); -// } -// }); + $('.left-off-canvas-menu > ul > li').each( function () { + if ( $(this).hasClass("menu-item-has-children") ){ + $(this).children("a").on('click', function(e){ + e.preventDefault(); + }); + } + }); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index faece45..3819dee 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -16,26 +16,26 @@ $(document).ready(function () { // The code below is useful if we want the top-level items to no longer be clickable // cache everything once -// var page = $("body"); -// -// var offcanvas_menu_items = page.find(".left-off-canvas-menu").children("ul.left-off-canvas-list").children('li'); + var page = $("body"); + + var offcanvas_menu_items = page.find(".left-off-canvas-menu").children("ul.left-off-canvas-list").children('li'); // disable the links for top nav items that have subpages -// $('.top-bar-section > div > ul > li').each( function () { -// console.log("test"); -// if ( $(this).hasClass("menu-item-has-children") ){ -// $(this).children("a").on('click', function(e){ -// e.preventDefault(); -// }); -// } -// }); + $('.top-bar-section > div > ul > li').each( function () { + console.log("test"); + if ( $(this).hasClass("menu-item-has-children") ){ + $(this).children("a").on('click', function(e){ + e.preventDefault(); + }); + } + }); // disable the links for off canvas nav items that have subpages -// $('.left-off-canvas-menu > ul > li').each( function () { -// if ( $(this).hasClass("menu-item-has-children") ){ -// $(this).children("a").on('click', function(e){ -// e.preventDefault(); -// }); -// } -// }); + $('.left-off-canvas-menu > ul > li').each( function () { + if ( $(this).hasClass("menu-item-has-children") ){ + $(this).children("a").on('click', function(e){ + e.preventDefault(); + }); + } + }); }); diff --git a/parts/client-info-footer.php b/parts/client-info-footer.php index b1ba946..cf1ac88 100644 --- a/parts/client-info-footer.php +++ b/parts/client-info-footer.php @@ -1,21 +1,26 @@