Home Forums WoodMart support forum ACCORDEON PRODUCT PAGE

ACCORDEON PRODUCT PAGE

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #326678

    Paris
    Participant

    Hello,

    Currently, when we open a product page, the first accordion toggle is open (IMAGE A). I would like to know how to make it closed and thus have the result of (IMAGE B) as soon as we arrive on a product page.

    Best regards

    Attachments:
    You must be logged in to view attached files.
    #326686

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Please add this snippet to the Theme Settins > Custom JS on the document ready:

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

    Best Regards

    Best Regards

Tagged: 

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