iTea Posted September 9, 2015 Share Posted September 9, 2015 When you adjust the width of your (Chrome) browser to 768 pixels the layout just comes out of the mobile layout. However, the submenu of the topmenu doesn't come down from 768 to 784 pixels. From 785 pixels upwards the submenu falls down as it should. You can watch it in the demo: http://demo.prestashop.com/nl/?view=front. Searched all the files for 784 and 785px, but can't find the cause, maybe in some calculation somewhere? Link to comment Share on other sites More sharing options...
gabdara Posted September 10, 2015 Share Posted September 10, 2015 It looks like a bug of chrome. The responsiveness of menu is in themes/default-bootstrap/js/modules/blocktopmenu/blocktopmenu.js in function responsiveMenu(). $(document).width() returns with 15 pixels less than what chrome displays as viewport width. In this case the css treats the page as 768px but the javascript as 753px. Link to comment Share on other sites More sharing options...
iTea Posted September 10, 2015 Author Share Posted September 10, 2015 I tried in on Firefox also, same story. Link to comment Share on other sites More sharing options...
Recommended Posts