Reveal on click but one at a time

Hi, I have thumbnail images with a ‘View Detail’ button that reveals extra information. Currently, clicking ‘View Detail’ on multiple thumbnails opens multiple detail panels simultaneously. I need them to open one at a time. Is there a way to achieve this? Here’s the link:


Here is my public share link: LINK
(how to access public share link)

Assuming you’re using interactions, you can design your interaction to collapse all of the panels first, before you expand the current panel.

The trick is targeting- e.g. collapse all elements with class foo then expand only the one that was clicked on.

It will take a bit of experimentation with your interactions and first-click, second click to learn what’s possible and to get the interaction behavior you want.