Jump to content

Recommended Posts

Hola!

I'm looking to see if there is a way I can make my background photo stationary while the elements of the page move. Currently, if I add additional sections, the photo repeats. Just want the background to stay still while the type, buttons, etc. move when you scroll.

Here's the url of the photo as well.

https://images.squarespace-cdn.com/content/6215c82439b1f42e2775bc8a/8f89e78b-d915-4fc6-be89-ba6c7d99bdfc/DSC06504.jpg?content-type=image%2Fjpeg

Any help is greatly appreciated!

Thank you!

Edited by Raphe
Link to comment
  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
On 3/12/2024 at 4:03 PM, Raphe said:

Yes, here’s the link! You can see what I mean on the home page mainly.

https://www.raphevaldez.com

Try this code to Website > Website Tools > Custom CSS

[data-section-id="65c73c8b6a821c56259741a3"] .section-background-content {
    position: fixed !important;
    top: 0;
}
[data-section-id="65c73c8b6a821c56259741a3"] ~ section, footer.sections, footer.sections section {
    position: relative !important;
    z-index: 9999 !important;
}

 

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.