Browse http://themes.semicolonweb.com/html/canvas/index-onepage-3.php?transition=disable in mobile mode and then try clicking the **About ** in Sub menu, you will see the main menu will expand [The whole page Scrolls up and scroll down to about section]
Submenu Conflict with Main menu on Mobile
2 replies · opened Apr 27, 2016
Aather_parvezApr 27, 2016
SSemicolon WebSTAFFApr 28, 2016
Hello,
Thank You so much for reporting this to us. This does appear to be a Minor Bug with the Code. We will surely fix this in our Next Update which scheduled to be released within 3-4 Days. Meanwhile, you can fix this yourself by simply find the following code in the js/functions.js File inside the onePageScroll: function() Function Block:
if( $('#primary-menu').find('ul.mobile-primary-menu').length > 0 ) {
$('#primary-menu > ul.mobile-primary-menu, #primary-menu > div > ul.mobile-primary-menu').toggleClass('show', function() {
$('html,body').stop(true).animate({
'scrollTop': $( divScrollToAnchor ).offset().top - Number(divScrollOffset)
}, Number(divScrollSpeed), divScrollEasing);
}, false);
} else {
$('#primary-menu > ul, #primary-menu > div > ul').toggleClass('show', function() {
$('html,body').stop(true).animate({
'scrollTop': $( divScrollToAnchor ).offset().top - Number(divScrollOffset)
}, Number(divScrollSpeed), divScrollEasing);
}, false);
}and replace it with:
if( $('#primary-menu').find('ul.mobile-primary-menu').length > 0 ) {
$('#primary-menu > ul.mobile-primary-menu, #primary-menu > div > ul.mobile-primary-menu').toggleClass('show', false);
$('html,body').stop(true).animate({
'scrollTop': $( divScrollToAnchor ).offset().top - Number(divScrollOffset)
}, Number(divScrollSpeed), divScrollEasing);
} else {
$('#primary-menu > ul, #primary-menu > div > ul').toggleClass('show', false);
$('html,body').stop(true).animate({
'scrollTop': $( divScrollToAnchor ).offset().top - Number(divScrollOffset)
}, Number(divScrollSpeed), divScrollEasing);
}This will definitely fix this issue. Let us know if we can help you with anything else or if you find any further issues.
Aather_parvezMay 1, 2016
Yep that fixed it
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