Jump to content

Add full bleed lines to section

Recommended Posts

Site URL: https://keyboard-jaguar-k52z.squarespace.com/

Hi there,

On the website I'm working on I would like to have the 'Support the project section' on the home page (the one with the text in the middle and the 2 images on the sides) divided by 2 vertical lines. I managed to do it but I noticed that when the screen size is reduced there's  blank space between the end of the lines and the end of the section.

The screenshot attached shows how I would like the lines to be for every screen sizes.

Anoyone knows how to fix this? Thank you in advace 🙂

Website link: https://keyboard-jaguar-k52z.squarespace.com/

Password: tpt-2021

Screenshot 2021-05-15 at 23.14.53.png

Link to comment
  • Replies 4
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

On 5/18/2021 at 2:32 AM, tuanphan said:

Try adding to Design > Custom CSS


iv#page-section-6066df98ff65861240fcdb85 .span-4:nth-child(2) {
    border-left: 1px solid black;
    border-right: 1px solid black;
    margin-left: -2px;
}

 

Hi @tuanphan, I tried but it doesn't work when I reduce the screen size (I attached a screenshot), any ideas?

Screenshot 2021-05-19 at 23.43.55.png

Link to comment
7 hours ago, tuanphan said:

Add to Design > Custom CSS


[data-section-id="6066df98ff65861240fcdb85"] .content-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
div#block-yui_3_17_2_1_1617353833161_11524 {
    padding-bottom: 0;
}

image.thumb.png.b19d664e2b2eb077c306116fb834a5f0.png

It works, thank you! I only tweaked it a bit:

 

#page-section-6066df98ff65861240fcdb85 .span-4:nth-child(2) {
  border-right: 1px solid black;
  border-left: 1px solid black;
  margin-left: -2px !important;
}

[data-section-id="6066df98ff65861240fcdb85"] .content-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#block-yui_3_17_2_1_1621616981666_9979 { padding-top: 7vh;
padding-bottom: 7vh;
}

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.