Nikolas361 Posted August 21, 2023 Posted August 21, 2023 Hey community, is there a way to adjust the fields in the form block so that instead "First Name" and "Last Name" there is just one "Name" field and "E-mail address" field is moved up in place of the former "Last Name field." I find the default design really clunky. In case that's of relevance: the form is in the footer. Thank you! Best, Nikolas
Ziggy Posted August 21, 2023 Posted August 21, 2023 You don't have to use the name field for names, a text field will work fine if you just want a single field for collecting names. If you want to put the second field next to the first one taking up 50% of the width each, that can be done with CSS, it's been shared numerous times on the forum: Nikolas361 1 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?
Nikolas361 Posted August 22, 2023 Author Posted August 22, 2023 Thanks for the hint with the name! The code by @tuanphan, though, seems to be adjusted to the particular form of that forum post. And that by @paul2009 doesn't work for me because it won't leave a space between the name and email field and seems to clash with my "Sign up for news and updates" box ( see pic below) . Could someone help me adjust it accordingly? Best, Nikolas
Ziggy Posted August 22, 2023 Posted August 22, 2023 10 minutes ago, Nikolas361 said: Could someone help me adjust it accordingly? Can you share your website URL, this page, and the code you've added so far? 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?
Nikolas361 Posted August 22, 2023 Author Posted August 22, 2023 This URL leads straight to the footer with the form: https://www.bieleit-medicus.com/#block-63aca4fcf177ecc1ea38 The code I tried was Paul's: .form-item.field.email, .form-item.field.text { display: inline-block; min-width: 48.8%; } .form-item.field.email { margin-right: 1.4%; }
Ziggy Posted August 22, 2023 Posted August 22, 2023 I can't see that taking effect, but you may want to make this tweak: .form-item.field.email, .form-item.field.text { display: inline-block; min-width: 48.8%; } .form-item.field.text { margin-right: 1.2%; } 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?
Nikolas361 Posted August 22, 2023 Author Posted August 22, 2023 Makes the unwanted gaps to the left of "Name" and right of "Email" disappear but it still does not create a padding between the two and the Email field is still not in line with the name.
Ziggy Posted August 22, 2023 Posted August 22, 2023 Can you put this on a temporary page that I can see so I can help you adjust it? Hard to do without seeing it on a website. 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?
Nikolas361 Posted August 22, 2023 Author Posted August 22, 2023 I put it on my website now. Fine for me to edit on the live website for an hour .form-item.field.email, .form-item.field.text { display: inline-block; min-width: 48.8%; } .form-item.field.text { margin-right: 1.2%; }
Nikolas361 Posted August 22, 2023 Author Posted August 22, 2023 also, if we could do for desktop only, that would be great! On mobile having the fields below each other words quite well.
Ziggy Posted August 22, 2023 Posted August 22, 2023 A few changes: @media only screen and (min-width:1000px) { .form-item.field.email, .form-item.field.text { display: inline-block; vertical-align: top; min-width: 48.8%; } .form-item.field.text { margin-right: 2.4% !important; } } Nikolas361 1 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?
Ziggy Posted August 22, 2023 Posted August 22, 2023 1 minute ago, Nikolas361 said: also, if we could do for desktop only, that would be great! On mobile having the fields below each other words quite well. That's one of the additions I just posted. 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?
Nikolas361 Posted August 22, 2023 Author Posted August 22, 2023 (edited) Nearly got it! The Name field is slightly above now, as you can see on the website. And the margin between the two fields (name and email) and the message field seems quite large thanks lots for your help by the way Edited August 22, 2023 by Nikolas361 Ziggy 1
Solution Ziggy Posted August 22, 2023 Solution Posted August 22, 2023 Another adjustment! @media only screen and (min-width:1000px) { .form-item.field.email, .form-item.field.text { display: inline-block; vertical-align: top; min-width: 48.8%; } .form-item.field.text { margin-right: 2.4% !important; margin-top: 13px !important; } } Nikolas361 1 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?
Nikolas361 Posted August 22, 2023 Author Posted August 22, 2023 Getting there! fields are in line, only the "Email" tag is slightly elevated and the gap between the upper two fields and the Message field is still quite large^^ Ziggy 1
Ziggy Posted August 22, 2023 Posted August 22, 2023 Looks perfect to me: 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?
Nikolas361 Posted August 23, 2023 Author Posted August 23, 2023 the two fields are in line but for some reason, the "Email" title is slightly above the "Name" title. But if that has no easy fix, it's gonna be fine as it is 🙂 Thank you! Ziggy 1
Ziggy Posted August 23, 2023 Posted August 23, 2023 You can adjust this value up or down a few pixels to see if that helps your view. margin-top: 13px !important; 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment