Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
Fire2019

Decreasing Section Padding Squarespace 7.1

Recommended Posts

I am using Squarespace 7.1 and need to remove vertical padding from sections - i.e. where sections join other sections. I imagine I'm not the only one thinking there is too much white space as a default and I can't find a way to remove it. 

Any ideas? I'm a new squarespace user and unfamiliar with custom css but will go down that road if needed. 

Thanks!

Share this post


Link to post

First click on the little pencil to edit the block...

115366628_Screenshot2019-10-14at20_11_28.thumb.png.7373c8bd21152e6d63251e1588e82443.png

Then use the section height tool to adjust the section height....

1010675693_Screenshot2019-10-14at20_11_43.thumb.png.7d1a9c975a294a63f154a1ef588db507.png

I hope this helps.


Steven Scott - Creative Partner
TwoFifths Design Ltd.

59 Fifth Street
Newtongrange
Edinburgh
EH22 4PJ

T: 0131 663 6047
M: 07925 950 031
E: hello@twofifthsdesign.com

www.twofifthsdesign.com

 

Share this post


Link to post

Thank you both for taking the time to try to help me. Unfortunately I can't share the site link yet as it is password protected and I don't have permission from the organisation it is for. I tried to adjust the section height to go as small as possible but there is still too much white space for my liking. I am using for the home page text overlaid on a background image, followed by a section containing blog posts displayed as a carousel, followed by a footer. I want to reduce the white space between the carousel and the image (on top) and footer (on bottom).  I'll keep playing around with this:) Thanks again. 

Share this post


Link to post

There is a min-height of 33vh set on sections. You need to override that to get the sections smaller. 

For all sections this would be:

.page-section {
    min-height: 0 !important;
}

For a specific section you need to specify the data-section-id that can be found by inspecting the page code using your browser's developer tools.

Somethig like this:

.page-section[data-section-id="5d979fd8590a832f3c411579"] {
    min-height: 0 !important;
}

 


Please hit LIKE to share your appreciation of posts that are helpful or useful. 

The like button is somewhere over thereover-there.jpg

Of course, Likes don't pay the bills.. If you're looking for a Squarespace Developer you can hire me here

Share this post


Link to post

Hi Colin, 

This CSS isn't working on my site. I've DM'd you details.

Does is have something to do with "MagicPaddingController"?

Any ideas on what else I can try? Thank you 🙂
 

Edited by MegD

Share this post


Link to post

I am having the same problem. The CSS isn't working for me and when I inspect the page, I also have "MagicPaddingController. Can anyone help? I am trying to reduce the padding on all gallery sections.

Share this post


Link to post
12 hours ago, mpuls1 said:

I am having the same problem. The CSS isn't working for me and when I inspect the page, I also have "MagicPaddingController. Can anyone help? I am trying to reduce the padding on all gallery sections.

Use CSS

[data-section-id="enter section id here"] .content-wrapper {padding-top: 5px; padding-bottom: 5px;}

Each section has different ID. If you share link to your site, I can take a look


COVID-19Free priority support for all users (29/03 - 30/04). You can tag me (@tuanphan) or send to my email.

With paid support, see here

How to Setup Password & Share URL | 120+ SS 7.1 code

 

Share this post


Link to post
On 4/4/2020 at 4:11 AM, tuanphan said:

Use CSS

[data-section-id="enter section id here"] .content-wrapper {padding-top: 5px; padding-bottom: 5px;}

Each section has different ID. If you share link to your site, I can take a look

@tuanphan I am brand new to coding and website-building. Could you take a peek at the website I am working on? I am trying to make a very short block at the footer of every page for the copyright notice, but I haven't gotten anything to work yet.

Website: vdlbuilders.com / password: preview

I believe the block id is block-24f7fac60c5ecb3e84ae. I am not able to enter a custom code block with the plan I am on.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...