Using conditions to show an element on a recurring schedule

I’m building a section that will highlight the current season, meaning that I’d like to swap out an element for the current season, like so:
[fall] (larger/one full row)
[spring][summer][winter] (smaller/in one row)

I believe that the best way to do this is to build 2 sets of 4 elements, and then use conditions to highlight the current season (showing only that element in the top row, and hide it in the lower row).

How do I configure a recurring date range like this? It seems that datetime only compares against a full date (including the year, meaning that it would only work that year), and using numbers doesn’t work as a comparison (for example, “show this element when the month is greater than 5 and the day is greater than 31” doesn’t work because the day will never be greater than 31).

Hello @andylinde,

Thanks for writing to us.

By default, there is currently no built-in option available for this. I recommend getting in touch with a developer who can assist you with your specific requirements, or subscribing to One , where customization-related questions are answered. Please note that custom development falls outside our support scope.

Thanks for understanding

Would be a nice feature to have natively. +1 for this. Could you please put in a feature request for this @prakash_s?

Hello @JvP,

Thank you for sharing your feedback. I’ve gone ahead and added this feature request to our feature request list. While we cannot guarantee when or if it will be implemented, it may be considered for a future update. We recommend keeping an eye on our upcoming theme releases and changelogs for any updates related to this functionality.

We appreciate you taking the time to share this suggestion with us.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.