Toggle the visibility of an element

Hi all,

Is there a way to use link to show/hide an element using its id?
To add or remove a class of an element via the link button?

Screenshot 2023-08-28 at 10.11.11 PM

Hi @Lefteris,

You will want to check out the Interactions feature.

Screenshot 2023-08-28 at 22.36.22

You can either add, remove or toggle a class using the click interaction. Toggle is probably recommended in your case.

Also, if you plan to animate the transition, you may find @Araminta’s recent video demo useful:

Hi @StrangeTech,

Thanks for your reply.
I should have thought that.