Here is some code that will make it so if you click on a "No Link" link in a mobile navigation that it will open the submenu (if it has one) instead of just closing the menu. Just add this to the custom.js
PLEASE NOTE:
Only works in Webmanager
Does work on Mobile hamburger menus as well as templates that have a hamburger menu by default.
/* Code to make not linked ('#') nav bar slideout their submenu when clicking the link */ $( document ).ready(function() { //variable needed to count each submenu, starts at 2 because 1 is the main menu var number = 2; //Gets the main navigation, gets every link that has a child, and runs the following code on all of them $('#navigation_header').find(".has-child").each(function() { //Checks if the links has a link of "#" if($(this).children("a").first().attr("href") == "#"){ //if it does, sets the href and data-target to be #mm-number (example, #mm-2, #mm-3) $(this).children("a").first().attr("href", "#mm-" + number); $(this).children("a").first().attr("data-target", "#mm-" + number); } //increments the number regardless if any changes are made number++; }); }); /*----------End MMenu code------------*/
Monday
8:00 am - 6:00 pm
Tuesday
8:00 am - 6:00 pm
Wednesday
8:00 am - 6:00 pm
Thursday
8:00 am - 6:00 pm
Friday
8:00 am - 6:00 pm
Saturday
Closed
Sunday
Closed