Streaming live at 10am (PST)

Hide all divs in a stack on click

Hello Webflow hivemind!

I’m reasonably new here and Webflow is revolutionizing my business.

I’m trying to create a clickable map with info on the sections below all stacked in divs. The trigger should close all the divs before opening the right one.

I’ve got 2 interactions set up:

1, Closes all targets class wide
2, Opens selected elements.

My problem is that the selected elements in the second step appear and then disappear again, can’t quite work out what I’m doing wrong. (map section on the link)



@andy_saltyfruit - can you provide some screenshots to elaborate on what you are trying to do?

Based on your interactions, it looks like you have two initial states for opacity on the same target:


One is 0% and one is 100% which may be causing issues.

On your fade out I think you should only need the one step going to 0%, not the initial 100% part of the animation.

Hi Sam sorry I should’ve updated the read only link when I made the edit.

So bascially I’m trying to

On click of any of the pin dots:

1, All project grid classes close
2, Selected project grid element opens

I’ve made a few changes on this, and I’ve found something that works but is there a more efficient way to build it than putting in a new interaction for each div that I want to show?

Updates here