Table of Contents with Accordian
I'm finding the new Table of Contents element really useful, but annoyingly it doesn't work with an accordian unless the accordion is expanded. i.e If the accordion includes a Header, the header appears in the ToC but clicking the link only navigates to the Header if the accordion is open.
I can understand why, but I wondered if there is anyway for the ToC link to navigate to either the title of the closed accordion or even better automatically expand the accordion and then navigate to the correct header.
Sample of what I mean here https://www.navigator.uk/hiretrack-nx-licensing-hosting-and-cloud/#toc_2
If not currently possible - maybe something for the wish list ?
Comments
BTW, where is the " - Just another WordPress site" coming from in the above embedded link ?
Hello,
At this moment it is not possible to achieve that.
The closed accordion has content set to display: none, so it is not possible to scroll to it.
If you would like to see the feature of the opening accordion when selecting it in the ToC, please, share your suggestion on the following topic:
https://forum.muffingroup.com/betheme/discussion/113/your-suggestions-for-future-updates#latest
To change it, please, go to Setting -> General.
Thanks