Jump to content

Removing Margin of Sections

Recommended Posts

Site URL: https://kumquat-kale-39as.squarespace.com/

Password: 1234

Is there a way to remove the margins of each section? I have a code block in a section, but I can't get it to stretch to the edge of the page. There seems to be an inset on each section. How do I have control of the left, right, top and bottom margins of each section. So I can control which sections are joined right up to each other, and if there is a bit of space in the left and the right?

Matt

Link to comment
9 hours ago, mattjenkins said:

Site URL: https://kumquat-kale-39as.squarespace.com/

Password: 1234

Is there a way to remove the margins of each section? I have a code block in a section, but I can't get it to stretch to the edge of the page. There seems to be an inset on each section. How do I have control of the left, right, top and bottom margins of each section. So I can control which sections are joined right up to each other, and if there is a bit of space in the left and the right?

Matt

You mean Elfsight Code Block? Add to Design > Custom CSS > Save & reload the site

/* Elfsight code Block */
[data-section-id="61d3c6b8d84036572456d8e4"] .content-wrapper {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
html, body {
    overflow-x: hidden;
}

 

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
5 hours ago, tuanphan said:

You mean Elfsight Code Block? Add to Design > Custom CSS > Save & reload the site

/* Elfsight code Block */
[data-section-id="61d3c6b8d84036572456d8e4"] .content-wrapper {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
html, body {
    overflow-x: hidden;
}

 

hi Tuanphan do you know any code to reduce space between stacking images on my home page in mobile view? 

regards Jake

Untitled design (5).png

Link to comment
12 hours ago, jakelyd said:

hi Tuanphan do you know any code to reduce space between stacking images on my home page in mobile view? 

regards Jake

Untitled design (5).png

What is page url?

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
On 1/5/2022 at 7:36 PM, jakelyd said:

Add to Design > Custom CSS

/* Mobile Stacked Image padding */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1641319651300_18211 {
    padding-bottom: 1px !important;
}
}

 

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
4 hours ago, tuanphan said:

Add to Design > Custom CSS

/* Mobile Stacked Image padding */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1641319651300_18211 {
    padding-bottom: 1px !important;
}
}

 

thank you worked perfectly!!!

 

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.