Mobile menu, click icon to open submenu

11 replies·opened Apr 24, 2017
J
johnjohnApr 24, 2017

Hello,

I am certain i have seen a fix for this before, but could not find it anymore.
Question is, when you have a menu with submenu's, the desktop version would allow you to click on the parent link and all the submenu links.
In mobile view, when you click on the parent link, then it just opens the submenu instead of going to the parent link.

Is there any way to only have the icon open the submenu?

Thank you in advance

S
SemiColonWebSTAFFApr 26, 2017

Hello,

Simply find the following code in the js/functions.js File inside the menufunctions: function() Function Block:

if( SEMICOLON.isMobile.Windows() )

and replace it with:

if( SEMICOLON.isMobile.any() )

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

J
johnjohnApr 27, 2017

Hello,

Have tested it but still doesn't work

For example if you look at the mobile version of this page
http://themes.semicolonweb.com/html/canvas/intro.php

And then you slide out the menu and click on "Features", you see the submemu slide out.
But what if 'Features' is already linked to a page and i only want to have the submenu slide out when clicking on the arrow icon only ?

L
livemusicprosApr 27, 2017

Related to this: can clicking on the icon OPEN and also CLOSE the submenu? Tap once, submenu opens. Tap again, submenu closes?

J
johnjohnMay 2, 2017

any update?

S
SemiColonWebSTAFFMay 3, 2017

Hello,

Thanks for your Patience! We have just checked this out on Our Demos and it appears to be working fine for us. Can you please provide us with a Live URL with the Codes we have provided implemented on your Page so that we can check out the exact issue and provide you with a more accurate solution for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

J
johnjohnMay 3, 2017

Thank you for your reply
Which demo did you test?

I have tried it directly on index.html in Canvas theme version 4.4 (and changed functions.js)
but it still does not work

S
SemiColonWebSTAFFMay 8, 2017

Hello,

We have checked out this on the v4.4 of Canvas on the index.html Template as well. A Live URL will be really helpful so that we can check out the exact issue and provide you with a more accurate solution for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

J
johnjohnMay 9, 2017

test

S
SemiColonWebSTAFFMay 10, 2017

Hello,

We have replied to your Email. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

J
johnjohnMay 15, 2017

still does not work

J
johnjohnJun 14, 2017

any idea on making this work in the new update?

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard