From 53d02c4209c451a6c8653a6527bd77230edd74d2 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 7 Dec 2015 09:17:47 -0500 Subject: [PATCH] changed properties menu to show in off canvas --- js/app.js | 1 + js/custom/pageSetup.js | 1 + lib/menu-walker.php | 2 +- parts/off-canvas_main.php | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) 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 @@