Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1090740

    Dear enfold Support Team,

    it seems, that I have a similar problem as decribed (and solved) in this thread:
    https://kriesi.at/support/topic/ (Purchase code hidden if logged out) -tab-section-tabs/#post-874435

    My setting:

    I have a Tab-Section containing two Tabs: “Features” and “Technische Daten”.

    On the same page there are two buttons which should jump to two Tabs in the Tab-Section. The URL in den Button-Defintion contains https://domain.de/page/#features (and https://domain.de/page/#technische-daten for the second button).

    I included the script of the thread mentioned above in the functions.php in my enfold-child-theme.

    But nothing happens when I click the buttons.

    Is there anything more that I must consider?

    Thanks and beste regards
    Jan

    #1091274

    Any Ideas?

    #1091374

    Hi,

    Thank you for using Enfold.

    Where did you add the buttons? You may need to change the selectors in the “scrollToTab” function to that of the button’s class attribute.

    scrollToTab( '.menu-item a', 'click' );
    scrollToTab( window, 'load' );
    

    Best regards,
    Ismael

    #1091507
    This reply has been marked as private.
    #1091555
    This reply has been marked as private.
    #1092519

    Hi,

    Thanks for the update.

    Try to adjust the selector used in this function:

    scrollToTab( '.menu-item a', 'click' );
    

    .. with the button’s class attribute.

    scrollToTab( '.avia-buttonrow-wrap a', 'click' );
    

    You can also turn on the custom css class field if you want to manually specify the selector.

    // (Purchase code hidden if logged out)(Purchase code hidden if logged out) ” rel=”nofollow”>https://kriesi.at/documentation/enfold/intro-to-layout-builder/# (Purchase code hidden if logged out)(Purchase code hidden if logged out)

    Best regards,
    Ismael

    #1092959

    Hi Ismael,

    Thank you very much for yout hint!

    I changed the one line you mentioned in the code which I pasted into the functions.php in my child-Theme and put only the Anchor in the URL-Field of the Buttons, but nothing happens. The Anchor seems to be correct, when I directly click on the Tab, the URL des not change.

    Do you habe any additional hind where to look?

    Thanks and best regards
    Jan

    #1092962
    This reply has been marked as private.
    #1093195

    Hi,

    Thanks for the update.

    The selector in the function is still the same.

    scrollToTab( '.menu-item a', 'click' );
    

    Try to replace it with:

    scrollToTab( '.avia-buttonrow-wrap a', 'click' );
    

    Best regards,
    Ismael

    #1093313
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.