Jump to content

Removing and Rearranging Specific Elements of Forms

Recommended Posts

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

Password: fbla2020

I am using the Zion template under Photography

Hi, I was wondering if there was anyway I could rearrange the structure of my form under "Appointments." I would like to remove the "Second" field under "Time" and move the entire "Time" field so it sits next to (adjacent) to the "Date" field. Preferably, it would look something like the second image. Any help with custom CSS would be greatly appreciated!

form customization.PNG

wanted form customization.PNG

Edited by jaxnoel
Link to comment
22 minutes ago, jaxnoel said:

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

Password: fbla2020

I am using the Zion template under Photography

Hi, I was wondering if there was anyway I could rearrange the structure of my form under "Appointments." I would like to remove the "Second" field under "Time" and move the entire "Time" field so it sits next to (adjacent) to the "Date" field. Preferably, it would look something like the second image. Any help with custom CSS would be greatly appreciated!

form customization.PNG

wanted form customization.PNG

This css can help re-arrange, but you can not remove the second input as it is required. I can say Squarespace date time input is silly, so I suggest to find a datepicker plugin if it not fit your need 

#block-4a87ef8163ec7daa5245 .form-item.date {
  width: 50%;
  float: left
}
#block-4a87ef8163ec7daa5245 .form-item.time {
  width: 50%;
  float: left
}

image.thumb.png.59efe128338189693deda0bbfaecfd12.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
8 minutes ago, bangank36 said:

This css can help re-arrange, but you can not remove the second input as it is required. I can say Squarespace date time input is silly, so I suggest to find a datepicker plugin if it not fit your need 


#block-4a87ef8163ec7daa5245 .form-item.date {
  width: 50%;
  float: left
}
#block-4a87ef8163ec7daa5245 .form-item.time {
  width: 50%;
  float: left
}

image.thumb.png.59efe128338189693deda0bbfaecfd12.png

It works but is there any way to indent the "Date" field so it lines up with the "Project Description" and "Phone" Field above and below the form? Thank you so much for your help!

form customization indent.PNG

Link to comment
1 minute ago, jaxnoel said:

It works but is there any way to indent the "Date" field so it lines up with the "Project Description" and "Phone" Field above and below the form? Thank you so much for your help!

form customization indent.PNG

#block-4a87ef8163ec7daa5245 .form-item.date {
    width: 50%;
    float: left;
    padding-left: 10px;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
3 minutes ago, jaxnoel said:

Thanks again! One last question. How do I make the button for submitting smaller? 

#block-4a87ef8163ec7daa5245 input[type="submit"] {
  padding: 0.6em 1.6em;
}

 

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
56 minutes ago, jaxnoel said:

Hi, sorry for bothering you again but is there any way to make this so it applies sitewide? Thanks again for your help, I really appreciate it.

hmm, you mean the submit button or the form fields

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
input[type="submit"] {
  padding: 0.6em 1.6em !important;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 2 years later...
On 8/27/2023 at 11:33 AM, barrdzen said:

How do you identify the block to target?

Check out Heather Tovey's most excellent looking Squarespace ID Finder.

Or, you can learn how to use browser developer tools. Read on web to learn.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.