trececreative Posted April 4 Posted April 4 Hello! I'm trying to recreate the newsletter block of the image below but am having trouble. Here is the code I've written so far. Website is eleida.squarespace.com password is applejuice2024. I've added the "Stay In Touch" and "Sign up.." copy as a text block in Squarespace rather than part of the newsletter block. /**NEWSLETTER**/ /**newsletter block**/ div.newsletter-block input[name="email"], div.newsletter-block input[name="email"]:focus { padding-left: 0px !important; border: none !important; border-bottom: 0.5px solid #FFF !important; background: none !important; } /**newsletter button**/ #siteWrapper.site-wrapper .sqs-button-element--primary{ font-family: "Apercu Mono" !important; text-align: left; color: #FFFFFF !important; background-color: transparent !important; text-transform: uppercase !important; margin-left: -10px; } /**newsletter input field**/ .field.email input, .field.email input::placeholder, .field.email input:focus{ font-family: "Apercu Mono"; padding-left: 0px !important; font-size: 0.6rem !important; text-transform: uppercase; text-align: left; color: white !important; }
abibacon Posted April 5 Posted April 5 Hey @trececreative, if you would like to reach out via email at abi@abibacon.com I'd be happy to take a closer look for you. Learn CSS - abibacon.com/css-course Reach out for Custom Coding - abibacon.com Developer & Support Specialist at will-myers.com (Affiliate Link) If you'd like to make a contribution for my time you can Buy Me A Coffee.
tuanphan Posted April 7 Posted April 7 I see you figured it out? 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!)
trececreative Posted April 7 Author Posted April 7 14 hours ago, tuanphan said: I see you figured it out? A little bit, but I'm trying to have the button sit under the email field instead of beside it and can't figure that out
Solution tuanphan Posted April 10 Solution Posted April 10 On 4/8/2024 at 6:59 AM, trececreative said: A little bit, but I'm trying to have the button sit under the email field instead of beside it and can't figure that out You try this CSS code .newsletter-form-body { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; } .newsletter-form-body div { width: 90% !important; min-width: unset !important; } .newsletter-block .newsletter-form-button-wrapper { text-align: left !important; } 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!)
trececreative Posted April 10 Author Posted April 10 9 hours ago, tuanphan said: You try this CSS code .newsletter-form-body { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; } .newsletter-form-body div { width: 90% !important; min-width: unset !important; } .newsletter-block .newsletter-form-button-wrapper { text-align: left !important; } It worked, thank you so much!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment