Jump to content

Targeting Index Page Parallax Background Images w/ CSS

Recommended Posts

Site URL: https://cyan-vibraphone-f5z8.squarespace.com/morningglories

Hi there,

I'm having trouble targeting a div that a background image lives in, which I'm trying to do so I can change the background-color via css. If you go to the link below and size your browser to be for mobile, you'll notice in the second module (with the photo of the kids), if you scroll down, the background becomes white. I'd like to be able to set the background-color of that div to match the light blue of the background photo, but I can't for the life of me, figure out how to target that div.

What's interesting is that if I turn off Parallax, I can find that div and fix the background color. Unfortunately, when I turn Parallax on, it looks like the structure and/or naming convention of the divs changes (which makes sense), and it breaks.

Password: littlefriends

Thanks so much for any help!

Link to comment
  • Replies 0
  • Created
  • Last Reply


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.