dguralnick Posted February 28, 2023 Share Posted February 28, 2023 hi, anyone know how to move form fields side-by-side so the form doesn't feel so long? ideally, I would like to have the phone number field next to the email field, the "number of residents" next to the "approximate monthly income" field, and the "what amount are you hoping to put down" next to the "approximate monthly income". I'd also like to know if there's way to make the "would you like to receive news about future DADO developments" just a checkbox and not a dropdown. I have a second site I need to do this too as well. please help! Link to comment
Ziggy Posted March 1, 2023 Share Posted March 1, 2023 Try this thread: dguralnick 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
dguralnick Posted March 3, 2023 Author Share Posted March 3, 2023 thanks, @Ziggy. when I plug the code from that thread in as-is, it moves one field, but not the right one, and then splits another field so the label is in the line above and the box for it is below (see attached). I tried changing the code a bit with the names of my form fields, but sadly, I am a bit of a novice/hack and can't figure out how to make it work for my fields. appreciate the attempt though! if I knew more, I could probably make it work. Link to comment
tuanphan Posted March 6, 2023 Share Posted March 6, 2023 Can you share link to this page? We can check easier 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
dguralnick Posted March 7, 2023 Author Share Posted March 7, 2023 (edited) sorry, @tuanphan, I thought I had! https://trombone-tuatara-23rn.squarespace.com/form (password: TheDADO) Edited March 7, 2023 by dguralnick Link to comment
tuanphan Posted March 11, 2023 Share Posted March 11, 2023 On 3/8/2023 at 4:28 AM, dguralnick said: sorry, @tuanphan, I thought I had! https://trombone-tuatara-23rn.squarespace.com/form (password: TheDADO) Add to Design > Custom CSS /* Form block */ @media screen and (min-width:768px) { div#block-224e368135bc76a0e2ea { .field-list>*:nth-child(2), .field-list>*:nth-child(3), .field-list>*:nth-child(5), .field-list>*:nth-child(6) { width: calc(50% - 20px); float: left; } .field-list>*:nth-child(4), .field-list>*:nth-child(7) { clear: left; } .field-list>*:nth-child(2), .field-list>*:nth-child(5) { margin-right: 40px !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!) Link to comment
ishfeesh Posted September 13 Share Posted September 13 Hello, can't seem to get this to work. Been looking around and i see a few tutorials on how to put 2 fields side by side but not 3, i.e. [Pickup][Date][Time] [Dropoff][Date][Time] Site: https://chameleon-koala-6et9.squarespace.com/ Pass: Test098 Link to comment
tuanphan Posted Monday at 10:29 AM Share Posted Monday at 10:29 AM On 9/13/2024 at 3:18 PM, ishfeesh said: Hello, can't seem to get this to work. Been looking around and i see a few tutorials on how to put 2 fields side by side but not 3, i.e. [Pickup][Date][Time] [Dropoff][Date][Time] Site: https://chameleon-koala-6et9.squarespace.com/ Pass: Test098 Use this to Custom CSS box .fe-66df6e98f1ef63600aec65fc > .fe-block > .sqs-block-form { display: block; } .fe-66df6e98f1ef63600aec65fc > .fe-block > .sqs-block-form > .sqs-block-content > .form-wrapper > form > .field-list { display: grid; gap: 1em; grid-auto-flow: column; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); padding-top: 2em; } 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