Multi-Currency Pricing in Gridbox Store App

Multi-Currency Pricing in Gridbox Store App
Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Mobile menu for desktop in onepage

3 years 3 weeks ago #1

  • Tomasz's Avatar
  • Tomasz
  • Posts: 225
Hello,

What code do I need to use to get the mobile menu for desktop in onepage? Mobile menu settings (Breakpoints) cannot be used because the second menu for onepage is to act as side navigation.

3 years 3 weeks ago #2

  • Diana's Avatar
  • Diana
  • Posts: 1088
Hello Tomasz,

Thank you for contacting us!

We recommend you use the overlay section in which you can put the menu.

Best Regards,
Diana, Balbooa.com

3 years 3 weeks ago #3

  • Tomasz's Avatar
  • Tomasz
  • Posts: 225
Diana,
thank you for your response.
Unfortunately, the overlay section on onepage will not work. The page will be moved to the right place, but it will not reload and the section overlay will remain open :(

3 years 3 weeks ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 24047
Hello,

To close the overlay section after clicking on the menu you need to add class custom-menu for menu
and to add JS code at the code editor
jQuery("document").ready(function($){
	jQuery('.custom-menu .nav.menu > li > a').on('click', function(event){
	        jQuery( ".ba-overlay-section-close" ).trigger('click');
	});
});

Regards,
Vyacheslav, Balbooa.com

3 years 3 weeks ago #5

  • Tomasz's Avatar
  • Tomasz
  • Posts: 225
Vyacheslav,

Thanks a lot - works :)

3 years 3 weeks ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 24047
You are welcome ;)
Powered by Kunena Forum