Jump to content

No Categories on mobile view


dogsmart

Recommended Posts

On one of my pages www.herzog-tech.ch the Navigation Categories does not pop out if i click on the +. I checked an updated all related modules. But i can't figure it out.

 

Sorry for my bad english :)

 

I'm running Prestashop 1.6.0.9

 

Has Anyone some ideas?

Link to comment
Share on other sites

In file: themes/default-bootstrap/js/modules/blocktopmenu/js/blocktopmenu.js

 

Replace this:
 

// check resolution
function responsiveMenu()
{
   if ($(document).width() <= 767 && responsiveflagMenu == false)
	{
		menuChange('enable');
		responsiveflagMenu = true;
	}
	else if ($(document).width() >= 768)
	{
		menuChange('disable');
		responsiveflagMenu = false;
	}
}

with this:

// check resolution
function responsiveMenu()
{
   if ($(window).width() <= 767 && responsiveflagMenu == false)
	{
		menuChange('enable');
		responsiveflagMenu = true;
	}
	else if ($(window).width() >= 768)
	{
		menuChange('disable');
		responsiveflagMenu = false;
	}
}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...