I need to link directly to a toggle / accordion for an FAQ so it will be open and have a unique link after the #. How can I do this?
I’m not sure if that is possible but you can create a single accordion for each FAQ section. Set it to open the toggle initially. Create a link like this to target the toggle sections:
<a href="#toggle-id-1-container">Toggle 1</a> <a href="#toggle-id-2-container">Toggle 2</a>
That might work. Is it possible to change the toggle id name, so the toggle id could actually be the name of the question. This would be for SEO…
The topic ‘Linking direct to open toggle / accordion’ is closed to new replies.