Jump to content

Randomize Background Images on Cover Page?

Recommended Posts

Hi!

I have a variety of images that cycle through on my cover page, but I would like the first image (or where the cycle starts) to be different every time the page is opened/refreshed. Is this possible?

Although I've done it a bit, I'm inexperienced with adding custom code, so please spell it out for me if you know how!

Thanks!

Link to comment
  • Replies 3
  • Views 273
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Best way still be to use a plug-in, I saw this one by chance just this morning: 

https://www.sqsmods.com/shuffle

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • 1 month later...

This is possible with Gallery Block + Plugin, but you can't add Gallery Block to cover page, so my ideal is create a new page, use code to remove header/footer, then use plugin to make randomize background image with gallery block.

What do you think?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.