inkblot Posted October 20, 2022 Share Posted October 20, 2022 Hello! I have a newsletter block in the footer of my website that looks exactly how I want it to on desktop (with some light coding), but when I look at it on mobile it places the "sign up" button below the email form (see pic). How do I get the "sign up" button to stay in line with the email form on mobile? Thank you! Link to comment
joseph81 Posted October 21, 2022 Share Posted October 21, 2022 Hi. Can you provide a website link for us to inspect the real code? Jozsef Kerekes - Front-end developer and Squarespace enthusiast My Blog: https://ui-workarounds.comIf you like my answer, please give me an upvote/like. Highly appreciated. Link to comment
inkblot Posted October 21, 2022 Author Share Posted October 21, 2022 https://tancredmusic.com/ Link to comment
joseph81 Posted October 22, 2022 Share Posted October 22, 2022 (edited) Updated: This code is one of the solutions for your case : .newsletter-block .newsletter-form-body { white-space: nowrap; } .newsletter-block .newsletter-form-field-wrapper { min-width: 0; width: 100%; max-width: 18rem; } Edited October 22, 2022 by joseph81 missed a code in the top inkblot and tuanphan 2 Jozsef Kerekes - Front-end developer and Squarespace enthusiast My Blog: https://ui-workarounds.comIf you like my answer, please give me an upvote/like. Highly appreciated. Link to comment
inkblot Posted October 24, 2022 Author Share Posted October 24, 2022 On 10/22/2022 at 5:50 AM, joseph81 said: Updated: This code is one of the solutions for your case : .newsletter-block .newsletter-form-body { white-space: nowrap; } .newsletter-block .newsletter-form-field-wrapper { min-width: 0; width: 100%; max-width: 18rem; } Perfect, this worked! Thank you so much! tuanphan and joseph81 1 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