weareb Posted August 23, 2021 Share Posted August 23, 2021 Site URL: https://www.littlebigguys.co.uk I'm having some trouble adjusting the CSS of the newsletter form. Originally, I wanted to decrease the height of the input fields and button from the default (which is massive) to be more like the rest of the buttons elsewhere. I've used the snippet below for my changes, but it annoyingly causes the button text to sit at the bottom of the button. I have applied 'display: flex; align-items: centre;' to every parent block conceivable, without joy. Adding padding to the button or its wrapper only moves the outline and not the contents. it would also be nice to change the field font-size to .9em, but I can't seem to find the correct class. Any help would be appreciated, thanks. .newsletter-block input { height: 0.3em; max-width: 18em; font-size: 0.9em; } .newsletter-block. newsletter-form-wrapper { display: flex; align-items: centre; } .newsletter-block .newsletter-form-button { max-height: 0.3em; } Link to comment
tuanphan Posted August 26, 2021 Share Posted August 26, 2021 Add to Design > Custom CSS footer.sections button.newsletter-form-button { display: flex !important; align-items: center; justify-content: center; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
weareb Posted August 26, 2021 Author Share Posted August 26, 2021 Thank you so much! works perfectly Link to comment
Jeremyn Posted September 2, 2021 Share Posted September 2, 2021 I found this amazing Squarespace website today. I was wondering how to create a custom form embedded to an image block (see images below) to collect first name and email. It seem to be a normal form and not a newsletter with optin. See photo and website attached. https://www.rebeccagracedesigns.com/freebies Link to comment
tuanphan Posted September 5, 2021 Share Posted September 5, 2021 On 9/2/2021 at 10:53 AM, Jeremyn said: I found this amazing Squarespace website today. I was wondering how to create a custom form embedded to an image block (see images below) to collect first name and email. It seem to be a normal form and not a newsletter with optin. See photo and website attached. https://www.rebeccagracedesigns.com/freebies Hi, You mean newsletter section with layout Left: Image Right: Text + newsletter form. I guess you can achieve this by using Image Blocks, Text Block, Newsletter?? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Jeremyn Posted September 13, 2021 Share Posted September 13, 2021 This will actually do the job. Thanks Tuan 🙂 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.