Jump to content

How do I position two form fields side by side?

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Hi Lauren

There are many ways to do this, and it depends on what you want to achieve. In your particular case you only have one Text field (the telephone number) and one email field. We can therefore target these two field types and format them to site alongside each other (inline-block).

Add the following to Design > Custom CSS:

.form-item.field.email, .form-item.field.text {
 display: inline-block;
 min-width: 48.8%;

.form-item.field.email {
 margin-right: 1.4%;

The widths have been set to try to match the first/last name boxes above and to ensure that the boxes wrap in the same way at lower resolutions, without adding additional media queries.

I hope that helps. Let me know how you get on.


alt text

Like other moderators on this forum, I post answers to help fellow Squarespace users understand how to customise their sites.
If I've correctly answered your question, please Accept the answer by clicking Accept below. If it didn't help, feel free to ask for more help or wait for forum users to add their comments and/or answers.

To everyone else who reads this answer and finds it helpful, please vote it up using the up arrow. This will let other users know it's a good answer.
For more useful Squarespace tips see our website.


Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
  • 6 months later...


This topic is now archived and is closed to further replies.

This topic is now closed to further replies.
  • 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.