Jump to content

Randomizing two sets of images, dependent on mobile or desktop

Recommended Posts

Site URL: http://jlinnertarchitecture.com

Hi all, 

I am trying to make it so that when a visitor sees my homepage, they get a random image every time.

With that being said, I would like for the image, when viewed on mobile, to be chosen from a set of vertically-oriented shots, and when viewed on desktop, to be among a set of landscape-oriented shots. 

I have seen some people mentioning that they have a different home page for mobile, or an index of it or something. I'm fairly competent with HTML generally, but new to CSS and Squarespace. So I don't totally understand the structures and backend. 

Can anyone help offer guidance with how I can achieve this? Ideally, I would link the images from ones hosted on other pages in my squarespace website.

Thank you very much. This is a screenshot of how my site is organized now. 

 

 

Screen Shot 2020-05-21 at 3.58.25 PM.png

Link to comment
  • Replies 0
  • Views 180
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.