Jump to content

Squarespace 7.0 trying to change a background image without resizing

Recommended Posts

Site URL: https://www.voteforerica.com/

I am trying to replace an image on the home page but every time I switch out the image, it resizes itself and I can't adjust it. I reached out to squarespace and they told me that there's custom code on the page that someone did before I worked on the page. I'm not good with code and would love any guidance on how to change out the background picture and leave everything else the same. 1348870481_ScreenShot2022-06-25at3_14_48PM.thumb.png.b7cdb95efcf8c547a5e91924c559f5cf.png831537449_ScreenShot2022-07-06at10_33_06PM.thumb.png.8b1efc289fbf13450ae3ac9ed8dd1f3d.png

Link to comment
  • Replies 1
  • Views 146
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS

section#home-top {
    background-image: url(https://cdn.pixabay.com/photo/2022/07/01/17/58/lighthouse-7296029__480.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

 

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.