Link to accordion and open it

Hi,

I am trying to achive the same thing, link to an accordion tab on the same page with automatic open. I have tried the solutions in this post

with no luck.

The url is https://www.riosa.com/documentacion/

I am using PRO latest version.

Can you help? Thanks!

Hi Hugo,

Thanks for reaching out.

Code is no longer need for toggle hash, the v2 Accordion has built-in feature for toggle. Please check this thread https://theme.co/apex/forum/t/open-accordion-with-anchor-link-without-cornerstone/53353/2

Just inspect the accordion item (not the main accordion) and go to Customize section and set the toggle hash.

Cheers!

Great!

Thanks!

You are most welcome!

I am trying to get this feature “Toggle Hash” to work. But while using the toggle hash as an anchor link does open the accordion item, the page does not scroll to the location of the accordion. So in that respect it’s not much use. Or am I doing something wrong? Right now I have to stick to Classic Accordion and the js code you once provided

Hi Kalle,

Please implement the code here https://theme.co/apex/forum/t/tabbed-content-url-link-to-go-to-a-specific-tab/50220/4. It’s for tab, but both V2 Tab and V2 Accordion are no using the same toggle hash feature and the code should work the same. Just make sure the value 115 equal to the height of your existing header, or zero if there should be none.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.