Home Forums WoodMart support forum Tabs Product Page Jump off after click

Tabs Product Page Jump off after click

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

    Omar42
    Participant

    Hi together

    When i click the tabs in the single product page the tabs jump off after the click and i must scroll again to the tab..its maybe possible that only a click open the tabs without the jump and the direct opening

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

    Hello,

    Please try adding the following Custom JS code in the Document Ready area under Theme Settings >> Custom JS then check back.

    jQuery('.wc-tabs-wrapper .wd-accordion-title').on('click', function (e) {
    	e.stopPropagation();
    	e.preventDefault();
    	console.log(jQuery(this));
    	var $this = jQuery(this),
    		$panel = $this.siblings('.woocommerce-Tabs-panel');
    	if ($this.hasClass('active')) {
    		$this.removeClass('active');
    		$panel.stop().slideUp(300);
    	} else {
    		$this.addClass('active');
    		$panel.stop().slideDown(300);
    	}
    	jQuery(window).resize();
    	jQuery(document).trigger('wood-images-loaded');
    });

    Regards.
    Xtemos Studios.

    #319318

    Omar42
    Participant

    wow. many many thanks absolutely perfect support

    #319320

    Most Welcome!!!.

    I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.

    We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘Tabs Product Page Jump off after click’ is closed to new replies.