Problem with responsive menu

More
9 years 11 months ago - 9 years 11 months ago #43938 by devokue
Here I have a similar problem. I have put the site on a stage server here:
www.devoti-kuenne.com/stage/DRVS/

When I load the site on an iPhone I see the "regular" menu.







When I scale down the browser window the drop-down menu is shown.

Actually I would like to see only the Dropdown Menu when the site is accessed by a mobile phone…
Attachments:
Last edit: 9 years 11 months ago by devokue.

Please Log in to join the conversation.

More
9 years 11 months ago #43939 by ivan.milic
Try removing this :

<meta name="viewport" content="width=device-width, initial-scale=1.0">

from head section of index.php of template

Please Log in to join the conversation.

More
9 years 11 months ago #43941 by devokue
Unfortunately this is not the solution.
Doing so will show the site "non-responsive". The drop-down menu isn't visible at all:


Attachments:

Please Log in to join the conversation.

More
9 years 11 months ago #43946 by ivan.milic
And if you use just:

<meta name="viewport" content="width=device-width">

Please Log in to join the conversation.

More
9 years 11 months ago #43986 by devokue
No. Unfortunately this also doesn't work…

Please Log in to join the conversation.

More
9 years 11 months ago #43991 by ivan.milic
Open templates/hot_explorer/js/responsive_menu.js

add this code at very bottom:

jQuery(window).load(function(){
jQuery(window).trigger("resize");
setTimeout(function(){
jQuery(window).trigger("resize");
},300);
});

refresh few times after

Please Log in to join the conversation.

Time to create page: 0.153 seconds
Powered by Kunena Forum