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 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? 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