Gusssssy Posted Thursday at 06:16 PM Posted Thursday at 06:16 PM (edited) Hello helpful people - I would like to make the date and time fields in my form at the bottom of this page side-by-side instead of stacked. I would also like to hide "in Greenwich Mean Time" beneath the time field. Can anyone help? @tuanphan @katycarlisle Thank you! https://www.beyondinsights.co.uk/home-new Edited Thursday at 06:57 PM by Gusssssy
Solution katycarlisle Posted Friday at 03:13 AM Solution Posted Friday at 03:13 AM This will align the fields except for on mobile (when they would be too squashed together). You'll need to put a space in the description for the Time field to make it line up with the Date field. /* Put Date and Time fields on one line */ @media screen and (min-width: 575px) { .form-wrapper .field-list { display: flex; flex-wrap: wrap; column-gap: 10px; } .email, .name { flex: 1 0 100%; } .date, .time { flex: 1 1 calc(~"50% - 5px"); } } Oh hey! I'm Katy Carlisle, a web designer and trainer who goes by the name SQSP Queen. My pronouns are she/her and I'm based on Vancouver Island in BC 🍁 I've been using Squarespace since 2013, and work mainly with non-profits or freelancers on projects that do good. I love answering questions about Squarespace and don't expect anything in return, but if you do want to say thanks, feel free to buy me a coffee ☕
Gusssssy Posted Friday at 03:14 PM Author Posted Friday at 03:14 PM Again THANK YOU!!! @katycarlisle I have one final bug that I can't fix (then I'll leave you in peace i promise!) - The date and time icons for these fields don't look right when viewing on my phone, like there is a thin 'down-chevron' appearing (I'm using a Google Pixel 4a browsing on Chrome) - See attached screenshot, circled in red... URL: https://www.beyondinsights.co.uk/home#contact katycarlisle 1
katycarlisle Posted Friday at 06:17 PM Posted Friday at 06:17 PM 2 hours ago, Gusssssy said: The date and time icons for these fields don't look right when viewing on my phone Yes I think you have indeed spotted a bug, it seems to be specific to that form design option (it doesn't happen if you use the pill style fields for example). I've tested and am able to replicate across multiple sites so will report it to customer support and would suggest you do the same! In the meantime, a workaround is to adjust the field padding for the form under Site Styles > Forms. If you don't want to adjust the vertical padding, click on the three dots and then you can adjust the Left & Right padding. I'm also on a Google Pixel and found 20px worked but you can play around and increase it more to be on the safe side if needed. Gusssssy 1 Oh hey! I'm Katy Carlisle, a web designer and trainer who goes by the name SQSP Queen. My pronouns are she/her and I'm based on Vancouver Island in BC 🍁 I've been using Squarespace since 2013, and work mainly with non-profits or freelancers on projects that do good. I love answering questions about Squarespace and don't expect anything in return, but if you do want to say thanks, feel free to buy me a coffee ☕
Gusssssy Posted Friday at 10:18 PM Author Posted Friday at 10:18 PM oh wow, you're the best @katycarlisle you've fixed it - can't thank you enough. You've been amazing and an absolute killer Squarespace queen. I've managed to tweak my project exactly how I designed it off the back of the code you gave me. Couldn't have finished this project without you - THANK YOU!!! I hope Squarespace are paying you for this advice. Have an amazing weekend x katycarlisle 1
katycarlisle Posted Friday at 10:54 PM Posted Friday at 10:54 PM Haha it would be lovely if they paid me but no, I just do it to help and because I enjoy the challenge 😊Glad it was useful! Gusssssy 1 Oh hey! I'm Katy Carlisle, a web designer and trainer who goes by the name SQSP Queen. My pronouns are she/her and I'm based on Vancouver Island in BC 🍁 I've been using Squarespace since 2013, and work mainly with non-profits or freelancers on projects that do good. I love answering questions about Squarespace and don't expect anything in return, but if you do want to say thanks, feel free to buy me a coffee ☕
Gusssssy Posted Friday at 11:06 PM Author Posted Friday at 11:06 PM Well they should be paying you. I'll raise it as a bug and you should too! Thank you so much, I wouldn't use Squarespace without people like you ❤️ katycarlisle 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment