Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Aligning Form Input boxes and button next to each other


megan05

Question

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
1 hour ago, megan05 said:

Site URL: https://www.locallocalfoods.com/

Hello! 

I'm trying to align the form fields next to each other and also make the "first name + last name" boxes into one "name" box. See attached mockup photo for reference. Any help or code input would be greatly appreciated. Thanks!

 

Password: LLFLLF_WebsiteWireframe_PreLaunch_v02Artboard-1.thumb.png.c0ba546a695f26e022f71364c12b7819.png

Instead of using the Name form field you can use a Text field and apply a placeholder value of name

 

https://www.nickscola.com - Squarespace developer since 2007 now a full service creative agency in Chicago that focuses on creating websites with a high standard for aesthetic excellence.

Link to comment
  • 0

you can use below code with the first name and last name inputs.

 

@media (min-width: 768px) {
  [data-form-id="60df7f0994f5130f65de1b70"] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    .field-list {
      display: flex !important;

      fieldset {
        display: flex !important;
        justify-content: space-between !important;
        margin: 0 2% 0 0 !important;
        flex-basis: 46% !important;
        .field {
          float: none !important;
          margin-left: 0 !important;
        }
      }
    }
    .form-button-wrapper {
      margin-left: 2% !important;
      input {
        margin-top: -3vw !important;
      }
    }
  }
}
 

Link to comment
  • 0
On 7/6/2021 at 10:39 PM, megan05 said:

Thank you! exactly what I was looking for. Much appreciated!

Do you need fix these?

Site URL: https://www.locallocalfoods.com/

1. (Desktop/Tablet – Homepage) When i fill in form and submit, “name” in bottom left corner doesn’t disappear

locallocalfoods.com-01-min.png

2. (Tablet – homepage) Sign me up button is lower than others

locallocalfoods.com-02-min.png

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...