Expand the sub-menu on the touch device

February 2014 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Sep 30, 2014 1:25 pm
Reply with quote
Report this post
It is possible set in template setting or in CSS expand the sub-menu on the touch device as tablet or notebook with touch screen?

My tablet Samsung Galaxy Tab2 has resolution 1280x800px and so menu for mobiles is not displayed, is displayed full menu.

When I try touch on my tablet on main menu with sub-menu, sub-menu is not expanded.
User avatar
Senior Boarder

teitbite
Wed Oct 01, 2014 8:49 am
Reply with quote
Report this post
Hi

Please check if same problem happens on this page: http://demo.gavick.com/joomla25/news2/
User avatar
Moderator

GK User
Wed Oct 01, 2014 10:29 am
Reply with quote
Report this post
On this page: http://demo.gavick.com/joomla25/news2/ is same problem, I tried it before writting this template theme
User avatar
Senior Boarder

teitbite
Thu Oct 02, 2014 12:50 pm
Reply with quote
Report this post
Hi

In template settings You will find a panel to set the widths for devices. Please try use 1280px next to tablet.
User avatar
Moderator

GK User
Thu Oct 02, 2014 3:32 pm
Reply with quote
Report this post
If I use 1280px to tablet width in layouts setting, mobile menu appears on tablet. But it is not my goal.

I need full main menu on tablet with this resolution and in addition, when I touch on tablet on item with submenu, submenu appears.
User avatar
Senior Boarder

teitbite
Sat Oct 04, 2014 11:11 am
Reply with quote
Report this post
Hi

I'm sorry but this looks to be the only way. Even plugins with database of devices do not have an information if such device has a touch screen or not. So closest would be to use https://github.com/serbanghita/Mobile-Detect and thanks to that show mobile or desktop view on tablets and mobiles, but than small screen laptops will have the oposite problem.
User avatar
Moderator


cron