Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Randomizing two sets of images, dependent on mobile or desktop


jlinnert

Question

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 post
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

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


×
×
  • Create New...