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

    Hi
    Fantastic Theme by the way and I have bee using it on lots of websites.

    I have added a Tab section on a page and I have some sub links on the main menu that should link to the different tabs. but at the moment they link to the whole Tab Section and the first tab is always the active one. I would like the Sub links to be active depending on which one we are referring to.

    I know this might not make sense nit please the link below and then it should make sense. :)
    So basically when you go to that page , The solutions Tab section is at the bottom of the page. I have the Tab elements listed at the Top Main menu under the solutions link. And whichever sub link I click on its goes to the whole solutions Tab section and on the first Tab.
    What I would like to achieve is that when we click on the (non-profit) link for example, it wold go to the Solutions Section and the (Non-Profit) Tab is the active one not (Legal). I wanted to add and ID to each Tab so I can link to it but can’t find an ID area for each.

    Hope the above makes sense. Please visit link supplied so yuo would get what i mean.

    Many thanks
    Emmy :)

    #1019442

    Hey Emmygraph,

    Thank you for using Enfold.

    There is a custom script for that because it’s not available by default. You can find it here:

    // https://kriesi.at/support/topic/hotspots-with-anchor-links-to-tabs-section/#post-896815

    Just replace this line:

    scrollToTab( '.av-image-hotspot_inner', 'click' );
    

    with the menu selector:

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

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.