Acme Themes

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Main menu doesn't collapse after click. #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');
    		}
    	});
    in reply to: Main menu doesn't collapse after click. #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.

    in reply to: Main menu doesn't collapse after click. #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.

    in reply to: Main menu doesn't collapse after click. #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.

    in reply to: Main menu doesn't collapse after click. #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 1 year, 7 months ago by  maiconjoel.
    • This reply was modified 1 year, 7 months ago by  maiconjoel.
    in reply to: Main menu doesn't collapse after click. #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

Viewing 6 posts - 1 through 6 (of 6 total)