Jump to content

How to keep background aligned with image blocks in all screen resolutions?

Recommended Posts

Posted

Site URL: https://www.trovecollaborative.com/team-1

Hi! 

My page background shows a dotted line linking all the card images together.   See the picture below. 

How can I add custom css code so that the line stays still (going from one image to the other) in all screen resolutions?  There is no background on mobile page so this is just for desktop view).  Any help is greatly welcomed!  

Webpage : https://www.trovecollaborative.com/team-1

 

Current CSS Code for that page 


section[data-section-id="61eb2e0a503abe77ee087207"] .section-background {
    background: url('https://static1.squarespace.com/static/61b500bd53c4830dec672bb1/t/6201912f8e3f5c512483819f/1644269871230/Background+dotted+line+2.jpg');
  background-size: cover;
  background-attachment : scroll;
  background-position: top;
  background-repeat: no-repeat;
}

Here is what I want.  However, the background doesn't follow the proportions of the pictures when zooming in or our or with different screen resolutions.  The line moves and I don't want that.image.thumb.png.bf52b18760945246e1faa47e1402f585.pngt I would like it to be 

  • Replies 1
  • Views 170
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.