Jump to content

Section border issue

Recommended Posts

Posted

Site URL: https://grape-halibut-xsjk.squarespace.com/

Hi folks,

I'm looking for some help locating an issue. 

Site: https://grape-halibut-xsjk.squarespace.com/

PW: circle

I am customizing some sections on the homepage of a client's site by reducing the width of a section image background.

There are some weird borders showing up between the section which I am trying to locate and get rid of. I can't find anything though that's causing it, so I assume it's the code. 

1332880371_ScreenShot2021-08-30at2_51_15PM.thumb.png.3c5ef2f3db3870844f0b921f03897c72.png

 

The code I've used for the 2 sections is:

section[data-section-id="612b517f123966413388c1b9"] .section-background {
  width: 40%; 
  left: 60%;
  top:10%
}


section[data-section-id="612b5351656dee1f45969604"] .section-background {
  width: 40%; 
  right: 60%;
  top:10%
}

 

Thank you for any leads.

  • Replies 4
  • Views 890
  • Created
  • Last Reply
Posted

remove top: 10%; from this code

section[data-section-id="612b5351656dee1f45969604"] .section-background {
  width: 40%; 
  right: 60%;
  top:10%
}

then add this

[data-section-id="612b5351656dee1f45969604"] .content-wrapper {
    padding-top: 0 !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!)

Posted
On 9/2/2021 at 5:37 AM, MariaFY said:

Hi @tuanphan, thanks for this. I removed and added the suggested code but the line is still there. Any other idea what could cause it? 

 

https://grape-halibut-xsjk.squarespace.com/

PW: circle

Hi,

It looks like you removed images? I don't see it now

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!)

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.