Jump to content

Decreasing Section Padding Squarespace 7.1

Recommended Posts

On 5/2/2022 at 5:22 PM, CommonCause said:

Thanks, that worked on desktop, but see attached screenshot for what happens on mobile. Could you advise how to fix this on mobile too?

Url: https://pepper-pelican-gr94.squarespace.com/about

PW: ValuesAndFrames

Screen Shot 2022-05-02 at 11.21.28 am.png

Use this new code

@media screen and (min-width:992px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 170px !Important;
}
}
@media screen and (max-width:990px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 60px !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
On 5/4/2022 at 11:59 PM, tuanphan said:

Use this new code

@media screen and (min-width:992px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 170px !Important;
}
}
@media screen and (max-width:990px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 60px !Important;
}
}

 

Alas no, that just made it worse - see attached screenshots. Grateful for any more ideas you might have. Thanks!

Url: https://pepper-pelican-gr94.squarespace.com/about

PW: ValuesAndFrames

 

Screen Shot 2022-05-06 at 12.16.12 pm.png

Screen Shot 2022-05-06 at 12.16.33 pm.png

Link to comment
22 hours ago, CommonCause said:

Alas no, that just made it worse - see attached screenshots. Grateful for any more ideas you might have. Thanks!

Url: https://pepper-pelican-gr94.squarespace.com/about

PW: ValuesAndFrames

 

Screen Shot 2022-05-06 at 12.16.12 pm.png

Screen Shot 2022-05-06 at 12.16.33 pm.png

You can adjust number in the code

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 5/6/2022 at 12:19 PM, CommonCause said:
@media screen and (min-width:992px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 170px !Important;
}
}
@media screen and (max-width:990px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 60px !Important;
}
}

Thanks but I've adjusted the 170 and 60 px numbers to all different values and the appearance doesn't change? Grateful for any more explanation, thanks.

site: https://pepper-pelican-gr94.squarespace.com/

PW: ValuesAndFrames

Link to comment
19 hours ago, CommonCause said:

Thanks but I've adjusted the 170 and 60 px numbers to all different values and the appearance doesn't change? Grateful for any more explanation, thanks.

site: https://pepper-pelican-gr94.squarespace.com/

PW: ValuesAndFrames

Use this

@media screen and (min-width:992px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 170px !Important;
}
}
@media screen and (max-width:991px) {
[data-section-id="624a6f5e8ddad257b3c5b093"] {
    padding-top: 110px !Important;
}
}

image.thumb.png.97a805c8bf4c4cf7a33d6b0f896ba0ec.png

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 month later...
On 6/16/2022 at 12:52 AM, Indi said:

although it effects the hover: follow cursor where is isn't following the cursor properly.

I don't have a solution but an observation. I could see the issue you are talking about. When I checked the portfolio hover effect on my test site. I did not see the issue.

So locally I disabled the custom CSS for your site, reloaded the page, and it got better.

I'm assuming that the hover effect is being calculated by SS and the modifications you made with CSS to the section height may have thrown those calculations off. The one thing that makes me think that, is at first I just disabled your CSS and there wasn't much change. But when I did the reload, it got better.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
12 hours ago, Indi said:

Would you suggest reducing the vertical spacing another way?

The only thing I can suggest at this point is to use the built-in vertical height setting. As I assume that SS wouldn't have a problem with it's calculations.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 7 months later...

what's the coding for reducing the padding in the intro section on a particular page?  I had to change the intro padding for my home page for a video but it messed up some other pages that I want to alter singularly now if I can instead of site wide.

Link to comment
  • 1 month later...
1 hour ago, bardo said:

I have the same problem I want to reduce the space between sections

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
1 hour ago, creedon said:

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Hi Thanks for your help, 

the url under construction is this

https://rhombus-corn-8w9z.squarespace.com/

pass: 2023

As I mentioned earlier I am happy with the left / right margings of the page.. but I would like to reduce the padding beatween the section to a very small padding

At the moment if I change the margins it links everything .. I will like to change only the padding betwenn sections without affecting left / right margins of the pages..

 

refref.PNG

Link to comment
On 3/21/2023 at 10:14 PM, creedon said:

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Hi there just checking if you have been able to access my website and if you think there is a solution for it

thanks Marsio

Link to comment
1 minute ago, bardo said:

checking if you have been able to access my website and if you think there is a solution for it

I did look and I don't have a solution as this time. Perhaps another forum member will have something for you.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
8 minutes ago, creedon said:

I did look and I don't have a solution as this time. Perhaps another forum member will have something for you.

Hi there thanks. What do you think is that makes it diffucult to find a soultion?

thanks

Link to comment
2 hours ago, bardo said:

What do you think is that makes it diffucult to find a soultion?

My usual attack on a problem like this is to go after changing margin and padding spacing. There was a lot of padding around the section on that page but when I tried shrinking them them the videos became distorted.

It appears you've gotten around that issue by pulling all the videos into one section.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Hello,

I can see many people have a padding request. Apologies for adding to the list. I have been looking at the answers trying to find a solution for what I need without success. It seems like when I modify the CSS code in Home/Design/custom CSS, nothing happens. If I even try to change the default CSS code I have, nothing seems to change. (see attached):

image.thumb.png.8e7df30fc21c215e2ce9a6519595b2b7.png

I am trying to reduce the vertical padding between a blank section, which has an image, and the lower section which is a gallery section. See attached. Ideally I would like to reduce the padding of the gallery section to match the gap between the smaller photos within that gallery section. (this page is a project)

image.thumb.png.32896ca78fb4ce428ca819c698e0437b.png

I have used the section id pointer in the CSS code in the Home/Design/custom CSS window, but as I said earlier, nothing seems to happen when I either change or input code in there. Am I missing something? Many thanks

Edited by BobbySmith
Link to comment

Found the solution: If I remove the default CSS code and add this: 

section[data-section-id="63d151a94497e9427a8685cb"] .content-wrapper {
  width: 100% !important;
  padding-top: 1vw;
}

section[data-section-id="63d151a94497e9427a8685cb"] .gallery-masonry {
  padding-top: 0px;
}
 

it seems to work. Is this safe proof for my website? I have no knowledge of CSS code, just testing things. This is for this section only though and I am wondering if removing the default CSS code is also a good idea. thanks

Edited by BobbySmith
Link to comment
1 hour ago, BobbySmith said:

Is this safe proof for my website?

No custom code is safe proof. SS makes changes to their platform all the time.

However, data-section-id have been one of the more stable elements on v7.1.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 1 month later...

Space between sections

Hello and welcome. I have a request and a question. I want to reduce the space between sections. I see that in DevTools when I change the option "padding-top: 10vmax; - to 0vmax, then everything goes up nicely.

What should be the CSS code to make the squarespace go up?
I will be grateful for help, because I see that this place on the forum has a lot of solved problems and a lot of kind people.
Regards

image.thumb.png.a7abf391d738795a432bbb238edc4643.png

Link to comment
On 5/10/2023 at 6:06 PM, Slawek_23 said:

Space between sections

Hello and welcome. I have a request and a question. I want to reduce the space between sections. I see that in DevTools when I change the option "padding-top: 10vmax; - to 0vmax, then everything goes up nicely.

What should be the CSS code to make the squarespace go up?
I will be grateful for help, because I see that this place on the forum has a lot of solved problems and a lot of kind people.
Regards

image.thumb.png.a7abf391d738795a432bbb238edc4643.png

I think this is List Section Padding. Can you share link to page? We can check easier

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
  • 2 months later...
18 hours ago, weecancuk said:

I'm also having trouble removing the margins from the bottom of my section. It looks fine in edit mode but when I go to the actual site, there's far too much blank space. I've tried injecting some of the codes with my id's but obviously doing something wrong.

https://www.anthologyofcrumbs.com/contact

Thanks in advance!

You mean this space?

image.thumb.png.507295d852b47d8c3b6358b9f789ae59.png

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.