Jump to content

Contact form CSS Styling

Recommended Posts

Hello,

Please scroll to the bottom of the page to see my contact form. I need to make Email + Phone number to be on the same line, and Arrival Date and Departure Date fields on the same line.

Could you please help with CSS code for this. Thank you very much in advance!

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
On 3/5/2023 at 8:25 AM, lylynguyen said:

Hello, Sorry Idk why I missed this message. 

Here is the page with my contact form: https://almaphuket.squarespace.com/encanto if you scroll to the bottom, the section right above footer.

If possible for email + phone number to be on the same line, and Arrival Date and Departure date to be on the same line? Thank you very much.

Ly

Add to Design > Custom CSS

/* Contact form */
@media screen and (min-width:768px) {
.fe-63f09bcad300d87cd29b68c9 {
.form-wrapper .field-list>*:nth-child(n+2) {
    float: left !important;
    width: calc(~"50% - 20px");
}
.form-wrapper .field-list>*:nth-child(2), .form-wrapper .field-list>*:nth-child(4) {
    margin-right: 20px;
}}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...
On 4/7/2023 at 12:48 AM, PaigeWalker said:

How can I customize the form to form input fields to be centered? My text and button are cenetred but just the fphone number inputs are to the left still. 

Screen Shot 2023-04-06 at 1.48.51 PM.png

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.