Open accordion using anchor links

Hi there!

I am sending out a newsletter that contains some links. These links link to my website and in the specific to a section where I have some accordions.

I need that on click on www.mywebsite.com/#sound, www.mywebsite.com/#display etc. the users are directed to the website and that the accordion with that specific ID opens automatically.

I can assign IDs to the accordions. Right now I am assigned them via attribute in Bricks and my client can define the ID using an ACF field.

How can I achieve this?

Many thanks in advance!

1 Like