Hey guys. I am redesigning the front page, but I have an issue.
I have in my menu 2(two) links as options
Book Now and Search
I create a Global Block with two section:
#1 CONTENT AREA OFF CANVAS for Book Now CLASS bookNow
#2 SEARCH DROPDOWN CLASS searchBox
I am using the following JS:
/book Now/
jQuery(function($){
$( document).on(‘click’, ‘#menu-item-119 > a’, function(e) {
e.preventDefault();
$(’.x-anchor-toggle,.bookNow’).click();
})
});
When I press BOOK NOW from the menu both OFF CANVAS and DROPDOWN Pop Up
SECURE NOTES ATTACHED
Best,