Forum Replies Created
-
AuthorPosts
-
maiconjoelParticipant
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'); } });
maiconjoelParticipantI’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.maiconjoelParticipantThe menu works fine on desktop view. The problem is the viewing trought small devices, because it doesn’t collapses after click.
maiconjoelParticipantSorry 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.maiconjoelParticipantWich 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, 7 months ago by maiconjoel.
- This reply was modified 7 years, 7 months ago by maiconjoel.
maiconjoelParticipantAs 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 -
AuthorPosts