[SOLVED] How to make image overlay visible until X hours has passed after creation date

Hey everyone.
I’ve been trying to add a ‘‘NEW’’ overlay on an image and keep that overlay visible until X amount of time have passed from the initial creation date of that asset.

Any idea how to set that up in the conditional?
Appreciated the help on this.

1 Like

Set the overlay as not visible on page load.
Create a condition where create_date + X < current_date and set the element visible for this condition

Thank you, appreciated, that worked.
Here is the conditional setup.
Screenshot_18

Just a not… the text will disappear when the time + has passed AND the page has been refreshed, just writing that down for anyone looking how this works.

Also disable the button until that time. Users should be able to tab through your page lol.

1 Like

Hey troy, Which button should I disable? let me know.

This topic was automatically closed after 70 days. New replies are no longer allowed.