Jump to content

Centering random on refresh banner image, Ready template

Recommended Posts

Hi,In a nutshell, I'm trying to center my banner image. I have images that are randomizing on reload of the page (mostly- but not working as well as I'd like), but I'd like to center these images so they display a little more consistently across platforms.

Below is what I'm using in the Page Header Code Injection on the Ready template. If anyone has a way to center these, I'd appreciate. If you have a more efficient way of making them more random, would also greatly appreciate (it takes several page refreshes to actually get the picture to change).

Wish I could find the original poster of the code! I Just kept copying and pasting, changing until something worked and lost track.

Thanks in advance.

Link to comment
  • Replies 2
  • Views 802
  • 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.