Jump to content

How can I reduce the padding underneath my contact form?

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://bamboo-rabbit-99gt.squarespace.com/config/design

Hello,

I'm trying to reduce the padding underneath the Send button on my Contact page. I thought it would be a fairly simple CSS fix but I'm not having any luck. I'd like to roughly halve the padding so that it matches the padding at the top of the page. The padding seems to be associated with the page section rather than the form itself.

Thanks!

password: !(cX3Ly@$323cC(

Screenshot 2022-03-04 at 10.16.11.png

Link to comment
  • Solution
1 hour ago, Leanne_M said:

I'm trying to reduce the padding underneath the Send button on my Contact page.

There are two areas of padding: one belongs to the page-section and the other to the content-wrapper. You could target either or both of these.

For example, to remove the padding from the page section, you could use the following Custom CSS:

section[data-section-id="61a2256589c7674cec25e620"].background-width--inset:not(.content-collection):not(.gallery-section):not(.user-items-list-section){
    padding-bottom: 0;
}

Notes:
1. This will only affect the page section on the contact page of this website. This is because it refers specifically to the unique section ID for this page section (61a2256589c7674cec25e620).
2. Only Squarespace 7.1 sites have page sections with section IDs of this type.

Did this help? Please give feedback by clicking an icon below  ⬇️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
12 minutes ago, paul2009 said:

There are two areas of padding: one belongs to the page-section and the other to the content-wrapper. You could target either or both of these.

For example, to remove the padding from the page section, you could use the following Custom CSS:

section[data-section-id="61a2256589c7674cec25e620"].background-width--inset:not(.content-collection):not(.gallery-section):not(.user-items-list-section){
    padding-bottom: 0;
}

Notes:
1. This will only affect the page section on the contact page of this website. This is because it refers specifically to the unique section ID for this page section (61a2256589c7674cec25e620).
2. Only Squarespace 7.1 sites have page sections with section IDs of this type.

Did this help? Please give feedback by clicking an icon below  ⬇️

Thank you @paul2009! That's worked a treat! I did try applying both those areas but must have been getting the code wrong somewhere. Thanks again!

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.