krnprnz Posted August 25, 2022 Share Posted August 25, 2022 (edited) Site URL: https://www.samuelrauschenberger.com/ Hi there, I'm trying to make a gallery with different images but they should all only show ina certain time frame. I've read that you can use code to hide an image (e.g. for a certain language) and was wondering if that would be possible too for a certain time and date. Thanks for any help, Samuel Edit: This is the code I was talking about: #collection-5e8106fd14477f68e75da0f8 #block-yui_3_17_2_1_1592925794450_25638:lang(en) { display: none; } #collection-5e8106fd14477f68e75da0f8 #yui_3_17_2_1_1592934809003_162:lang(ko) { display: none; } Edited August 25, 2022 by krnprnz Link to comment
Beyondspace Posted August 30, 2022 Share Posted August 30, 2022 On 8/25/2022 at 3:41 PM, krnprnz said: Site URL: https://www.samuelrauschenberger.com/ Hi there, I'm trying to make a gallery with different images but they should all only show ina certain time frame. I've read that you can use code to hide an image (e.g. for a certain language) and was wondering if that would be possible too for a certain time and date. Thanks for any help, Samuel Edit: This is the code I was talking about: #collection-5e8106fd14477f68e75da0f8 #block-yui_3_17_2_1_1592925794450_25638:lang(en) { display: none; } #collection-5e8106fd14477f68e75da0f8 #yui_3_17_2_1_1592934809003_162:lang(ko) { display: none; } How do you define the time and date? It is based on the client 's time or on a specific time on Global time? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment