CMS Pop Up window disappear

Hello,
I have a CMS collection for a cliente to launch a Pop Up window when they need. But I want do make the pop up window disappear when theirs no cms item. Is that possible?
The Pop up window is now working…

Share project link…
https://preview.webflow.com/preview/jornalmirante?utm_medium=preview_link&utm_source=designer&utm_content=jornalmirante&preview=e48a7ba4024f9205b446acdd0caf3196&mode=preview

Which CMS items are you referring to? And how often would they change?

One approach within Webflow could be to set conditional visibility based on a new toggle on/off field (in the Popup entry in the CMS) but that would require manual work.

Hello Sarwech, I’m referring the Pop up…

conditional visibility based on a new toggle on/off field works, but the problem is the close button…

Put a new div block inside your Collection Item and move both the close button and image into that, like so:

image

That should work :slight_smile:

:grinning: Yahhh! it works… Thank you very much! Best regards from Portugal.

1 Like

You’re welcome! :slight_smile: