Jump to content

How to remove padding and margins for a specific block on Sqaurespace 7.1?

Recommended Posts

21 minutes ago, Lago said:

Site URL: https://www.lago.lt/store/p/day-dreaming

Hi,

Been searching for answer for a few hours, unfortunately unsuccessfully. 

How to remove padding and margins for a specific block on Squarespace 7.1? In my case, I want to make additional information section in products page full-width, without any padding or margins.

https://www.lago.lt/store/p/day-dreaming

Password: Slyva1

 

Screenshot 2021-03-14 at 13.27.59-2.png

it's actually a section, you can use this tool to get block/section unique id

section[data-section-id="604cd95eccf08c42a6bdbe89"] .content-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}
section[data-section-id="604cd95eccf08c42a6bdbe89"] .sqs-layout > .sqs-row {
  margin: 0;
}
#block-8d8109408d01a61d8da5 {
  padding: 0 !important;
}

image.thumb.png.d76735caa99acdb797c1ad11b29857ab.png

Squarespace ID Finder - Chrome Web Store (google.com)

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
24 minutes ago, Lago said:

Sorry your code doesn't work. The margins just got messed up. 

Screenshot 2021-03-14 at 15.27.10.png

that the block shadow, removed it

section[data-section-id="604cd95eccf08c42a6bdbe89"] .content-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}
section[data-section-id="604cd95eccf08c42a6bdbe89"] .sqs-layout > .sqs-row {
  margin: 0;
}
#block-8d8109408d01a61d8da5 {
  padding: 0 !important;
}
#block-8d8109408d01a61d8da5  .image-title * {
  box-shadow: none !important;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 2 weeks later...
On 3/14/2021 at 9:14 PM, Lago said:

still doesn't work, I want the width of the grey area to be fully across the screen (for example like the footer or the header).

Have you solved it yet?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 year later...
5 hours ago, Iwan said:

Hi @tuanphan I'm trying to reduce the padding between my homepage top section main header and the text underneath it can you please ehlp?

https://beige-oleander-mp66.squarespace.com/ password tuansqsp

Do you mean reducing this padding?

 

image.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
14 hours ago, Iwan said:

 thanks for your help. No, it's the space between "Be all you came here to be..." and the sentence below it: "Close the gap between..."

Try adding this CSS

div#block-yui_3_17_2_1_1649250868234_2516 p {
    margin-top: -40px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.