Leanne_M Posted March 4, 2022 Share Posted March 4, 2022 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( Link to comment
Solution paul2009 Posted March 4, 2022 Solution Share Posted March 4, 2022 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 ⬇️ Leanne_M 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity 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. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
Leanne_M Posted March 4, 2022 Author Share Posted March 4, 2022 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! paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment