Best Premium and Free WordPress Themes › Forums › Mercantile › Main menu doesn't collapse after click.
Tagged: main-navigation, mobile, navbar, primary-menu
- This topic has 19 replies, 5 voices, and was last updated 6 years, 7 months ago by acmethemes.
-
AuthorPosts
-
April 25, 2017 at 11:14 am #16460maiconjoelParticipant
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.brApril 25, 2017 at 12:27 pm #16466acmethemesKeymasterHello 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
April 25, 2017 at 1:42 pm #16474maiconjoelParticipantAs 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/12852April 25, 2017 at 3:10 pm #16475acmethemesKeymasterWhile 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
April 25, 2017 at 4:35 pm #16476maiconjoelParticipantWich 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 7 years, 1 month ago by maiconjoel.
- This reply was modified 7 years, 1 month ago by maiconjoel.
April 26, 2017 at 4:40 am #16496acmethemesKeymasterWhile 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 youApril 26, 2017 at 11:38 am #16503maiconjoelParticipantSorry 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.April 26, 2017 at 12:27 pm #16505acmethemesKeymasterWhile viewing your site, the menu is working fine here. Can you please check once on other PCs as well.
Thank you
April 26, 2017 at 2:02 pm #16515maiconjoelParticipantThe menu works fine on desktop view. The problem is the viewing trought small devices, because it doesn’t collapses after click.
April 26, 2017 at 4:03 pm #16519acmethemesKeymasterI 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
April 26, 2017 at 4:22 pm #16522maiconjoelParticipantI’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.April 27, 2017 at 4:15 am #16534acmethemesKeymasterHello 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
June 11, 2017 at 1:48 pm #17967susiccParticipantI 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.
June 12, 2017 at 5:39 am #17993dipsParticipantHello maiconjoel,
we will find the problem and provide you the update soon.Thank you,
June 12, 2017 at 12:03 pm #18003maiconjoelParticipantsusicc, 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'); } });
-
AuthorPosts
- You must be logged in to reply to this topic.