From: Anthony Talarico Date: Mon, 7 Dec 2015 14:17:47 +0000 (-0500) Subject: changed properties menu to show in off canvas X-Git-Tag: v1.0.0^2~129 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=53d02c4209c451a6c8653a6527bd77230edd74d2;p=WP-Themes%2Fstaffords.git changed properties menu to show in off canvas --- diff --git a/js/app.js b/js/app.js index 98fc928..bd98ba2 100644 --- a/js/app.js +++ b/js/app.js @@ -221,4 +221,5 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); + }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index fa4b8a9..5094572 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -212,4 +212,5 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); + }); diff --git a/lib/menu-walker.php b/lib/menu-walker.php index e552820..abd5a1e 100644 --- a/lib/menu-walker.php +++ b/lib/menu-walker.php @@ -259,7 +259,7 @@ if ( ! function_exists( 'property_mobile_off_canvas' ) ) { 'container_class' => '', // class of container 'menu' => '', // menu name 'menu_class' => 'property-list', // adding custom nav class - 'theme_location' => 'property-mobile', // where it's located in the theme + 'theme_location' => 'property-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link 'link_before' => '', // before each link text diff --git a/parts/off-canvas_main.php b/parts/off-canvas_main.php index b7429eb..17092ec 100644 --- a/parts/off-canvas_main.php +++ b/parts/off-canvas_main.php @@ -1,5 +1,6 @@