changed properties menu to show in off canvas
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 7 Dec 2015 14:17:47 +0000 (09:17 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 7 Dec 2015 14:17:47 +0000 (09:17 -0500)
js/app.js
js/custom/pageSetup.js
lib/menu-walker.php
parts/off-canvas_main.php

index 98fc928..bd98ba2 100644 (file)
--- 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");
     });
+   
 });
index fa4b8a9..5094572 100644 (file)
@@ -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");
     });
+   
 });
index e552820..abd5a1e 100644 (file)
@@ -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 <a>
           'after' => '',                                  // after each link </a>
           'link_before' => '',                            // before each link text
index b7429eb..17092ec 100644 (file)
@@ -1,5 +1,6 @@
 <aside class="left-off-canvas-menu hide-for-large-up">
-    <?php feature_mobile_off_canvas(); ?>
+    <?php //feature_mobile_off_canvas(); ?>
+    <?php property_mobile_off_canvas(); ?>
     <?php get_template_part('parts/search');?>
     <ul class="offcavas-social-list">
         <li><a class="share" target="_blank" href="#"></a></li>
@@ -13,7 +14,7 @@
         <?php endif;?>
     </ul>
     <?php get_template_part('parts/client-info-offcanvas');?>
-    <?php property_mobile_off_canvas(); ?>
+    <?php //property_mobile_off_canvas(); ?>
 </aside>
 <aside class="right-off-canvas-menu">
     <div class="row">