Home Forums WoodMart support forum Botón access tab

Botón access tab

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

    mponferrada
    Participant

    When clicking on this button, go down to the tab menu and show the last tab.

    How do I do it?

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

    Artem Temos
    Keymaster

    Hi,

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

    jQuery('[href="#presupuesto"]').click(function(e) {
    	e.preventDefault();
    	jQuery('.woodmart_additional_tab_tab > a').click();
       jQuery([document.documentElement, document.body]).animate({
            scrollTop: jQuery(".wc-tabs").offset().top - 100
        }, 2000);
    });

    Regards

    #77616

    mponferrada
    Participant

    works correctly. Thank you!

    #77622

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

    Best Regards

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