daniellofarrell Posted November 25, 2022 Share Posted November 25, 2022 https://www.ana-uribe.com password: hello Hi! I am trying to change the newsletter block alignment to "left" in mobile view only. I don't know how to make the alignment "right" in desktop view and "left" in mobile view. Can someone please help? I tried using some custom CSS to make it all align left in mobile view, but I could only get the description text "Sign up for my newsletter" to align "left" To do this I used: Quote @media screen and (max-width:640px) { .newsletter-form-header-description { float: left !important; } } Anyway, I need the whole newsletter block to align left in mobile view. Can anyone help? Much appreciated, Dan Link to comment
Ziggy Posted November 25, 2022 Share Posted November 25, 2022 Looks solved, floating left on mobile: But you seem to have a strange line of CSS margin:left; you might want margin-left:0; margin-right:auto; instead. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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