Home Forums WoodMart support forum Tabs on mobile

Tabs on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #272363

    Caspar
    Participant

    Hello,

    Is it possible to expand the description at the product only when you click on the arrow on mobile. If you now also click on shipping and delivery, it does not work completely smoothly. So I would like you to have to open both tabs yourself. This is probably because this can be seen directly on the desktop. We want to leave this as it is. Is that possible?

    #272449

    Hello,

    Please add this code to the Theme Settings > Custom JS > On document ready:

    if (jQuery(window).width() <= 768) {
    	setTimeout(function() {
    		var $tab = jQuery('.woodmart-tab-wrapper').find('a.active');
    			$tab.siblings('.wc-tab').hide();
    			$tab.removeClass('active');
    	}, 10);
    }

    Best Regards

    #272938

    Caspar
    Participant

    Hello,

    Great! It works 🙂

    Kind regards, Jasper

    #273034

    You are welcome! If you have any questions please feel free to contact us.

    We will appreciate highly if you spend a couple of minutes and answer the questions provided here: https://8uehqcg4tjy.typeform.com/to/IgyV2EiP

    Best Regards

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