Home Forums WoodMart support forum The screen jumps up and down with Tabs and Frequently Questions

The screen jumps up and down with Tabs and Frequently Questions

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

    AleORCA
    Participant

    Hi,

    When we move between in the three tabs the screen jumps up and down, and it’s the same issue with frequent questions.

    you can check it here:
    http://see.ai/products/

    thanks 🙂

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

    Hello,

    Try to add the following code snippet to the Custom JS area on the document ready in Theme Settings to fix this issue.

    jQuery('.wc-tabs-wrapper .wd-accordion-title').click(function (e) {
    	e.stopPropagation();
    	e.preventDefault();
    	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');
    });

    When you click the next tab, the previous one would remain open with this code. If you want the code where all the tabs are open, let us know, we shall provide, however, we do not guarantee it would be stable.

    Kind Regards

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