Main menu doesn't collapse after click. - Acme Themes

Best Premium and Free WordPress Themes Forums Mercantile Main menu doesn't collapse after click.

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #16460
    maiconjoel
    Participant

    Hey Guys,
    I’m using your free Mercantile Theme and it fits very well to my small business needs. However I realized that, when using compact browser (mobile), the main menu doesn’t collapses after click.
    There’s some fix or setting for this?
    Thank you!
    My site: http://www.piscinasitupeva.com.br

    #16466
    acmethemes
    Keymaster

    Hello maiconjoel,
    Thank you so much for using our theme Mercantile. It seems that the plugin is causing issues on your site. Can you please check once by deactivating the installed plugin and check once. Please try to figure out which plugin is causing issues. Check one by one by deactivating.
    Let us know the results.

    Regards

    #16474
    maiconjoel
    Participant

    As suggested, I deactivated all the plugins, but the issue remains.
    I google it and found this about Bootstrap, but I didn’t knew how to apply the suggested solution:
    https://github.com/twbs/bootstrap/issues/12852

    #16475
    acmethemes
    Keymaster

    While viewing your site, we got error on the console. Have you edited any theme codes? If not, please delete that theme and add the fresh one.
    Let us know, if you have edited any file or not.

    Regards

    #16476
    maiconjoel
    Participant

    Wich error? There’s some expected failures on page now because of deactivation of contact-form and the gallery used on my portfolio. But it is under control. I think it not affects the behavior of the main menu, but I can reactivate it if you want.

    I also did these two changes on theme structure:
    1. I updated Font-Awesome to use new icons;
    2. For larger interval of Carousel, I’ve changed these lines on owl.carousel.js:
    Line 112:
    base.options.autoPlay = 15000;
    Line 185:
    }, 15000);

    • This reply was modified 6 years, 11 months ago by maiconjoel.
    • This reply was modified 6 years, 11 months ago by maiconjoel.
    #16496
    acmethemes
    Keymaster

    While editing codes or changing the font’s family you made mistakes and the errors are appearing on the console. Please delete that theme file and upload the fresh new theme again. Hope, it will work for you. If you are not familiar with codes, better to hire the customizer for it.
    You can check the browser console to know the errors.
    Thank you

    #16503
    maiconjoel
    Participant

    Sorry guys. Those errors were my attempts to apply that solution, but I cleaned all now.
    I restored the Original theme, but the unexpected behavior of the main-menu remains.

    #16505
    acmethemes
    Keymaster

    While viewing your site, the menu is working fine here. Can you please check once on other PCs as well.

    Thank you

    #16515
    maiconjoel
    Participant

    The menu works fine on desktop view. The problem is the viewing trought small devices, because it doesn’t collapses after click.

    #16519
    acmethemes
    Keymaster

    I checked your website on my mobile and tablet as well. Menus are working fine here. Can you please check your site once again on other devices as well.

    Thank you

    #16522
    maiconjoel
    Participant

    I’ve tried in some, and all goes the same.
    Just to be clear: I’m saying that it doesn’t AUTO collapse after click. I expand the menu, I click on item “Porfolio”, then I have to click on menu again to collapse it. While I was expecting just to click on item and have it AUTO collapsed.

    #16534
    acmethemes
    Keymaster

    Hello maiconjoel,
    If you check our demo, it have the same thing how menu works on your website as well. Actually this is not the bug. We will try to implement that features on the next updates. Thank you so much for your patience.

    Regards

    #17967
    susicc
    Participant

    I too am having issues with the nav menu with the free version.

    The website is: http://iccwhb.org

    In your demo as you reduce browser size the menu collapses nicely.

    Mine does not.

    As the browser goes below roughly 1000px is behaves very oddly, until it collapses correctly at roughly 750px.

    #17993
    dips
    Participant

    Hello maiconjoel,
    we will find the problem and provide you the update soon.

    Thank you,

    #18003
    maiconjoel
    Participant

    susicc, I fix this changing mercantile-custom.js on /public_html/wp-content/themes/mercantile/assets/js:

    Add on line 80:

    	$(document).on('click','.navbar-collapse.in',function(e) {
    		if( $(e.target).is('a') && ( $(e.target).attr('class') != 'dropdown-toggle' ) ) {
    			$(this).collapse('hide');
    		}
    	});
Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.