Again collapsible sections

Hi there,

I followed this topic:

and asked myself: If I would like to have more collapsible sections with individual buttons, do I have to copy / paste these lines for every section (with different naming like “section-trigger_01” and so on, or can I use the ID section anyhow and have only one function?

Thank you,
Michael

Hello @mickna,

Thanks for writing in! Based on the code in that previous thread, you will need the class section-trigger for your link or button element and then also make sure to insert a Section ID and use it in your link or button href.

Be advised that Custom Coding is beyond the scope of our support under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One service for further assistance.

Best Regards.

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