Tatsiana Posted January 10, 2023 Share Posted January 10, 2023 Hi everyone! I'm looking for CSS to adjust my newsletter block in a footer. I would like it to be almost seamless and small. I've attached a couple examples of what sort of design I'm after. First and most preferred option - field for entering an email address is underlined with the text "Join our Newsletter". sign up button is a simple arrow next to the email field. Example with a dark background attached (used for locked screen). Alternatively second option is to make a button called Join our Newsletter and field next to it for entering an email address. Very compact and minimal sizing. Example on the light background attached. I've tried dozens of codes by now but it's still too chunky. Would it be possible to edit newsletter block this much on squarespace? Link to comment
Solution tuanphan Posted January 14, 2023 Solution Share Posted January 14, 2023 Just solved a case this morning. You can add this code to Design > Custom CSS .newsletter-form-fields-wrapper.form-fields { width: 90%; float: left } .newsletter-form-button-wrapper.submit-wrapper { width: 10%; clear: left; padding-left: 0; } .newsletter-block .newsletter-form-field-wrapper { min-width: unset; width: 100%; padding-right: 0; } [data-form-id="63bd7555d73d207c975094cf"] button.newsletter-form-button { padding-left: 0 !important; padding-right: 0 !important; border: 0 !important; margin-left: -5.5em !important; } .sqs-button-element--primary:after { margin: 0; border: unset; font-size: 20px; padding-left: 0; transition: 0.3s; } .sqs-block-newsletter .newsletter-form-field-element { border-bottom: 1px solid; background: rgb(243, 239, 236); border-top: unset; border-left: unset; border-right: unset; } .sqs-block-newsletter .newsletter-form-field-element:placeholder { color: black !important; } .primary-button-style-outline .sqs-block-newsletter .newsletter-form-button.sqs-button-element--primary:hover { background: unset !important; } .sqs-button-element--primary:hover:after { color: #fff !important; } @media screen and (min-width: 992px) { .newsletter-form-body { width: 80%; }} 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment