Jump to content

How can I change the date format from MM/DD/YYY to DD/MM/YY

Recommended Posts

Site URL: http://www.wildwoodovens.co.uk

Hi, I am trying to change my format from US to UK

I am using the following code but It isn't working. I think it just needs tweaking to fit my template but I cant seem to manage it 

my code is
 

.form-wrapper .field-list .date .field { position: relative }
.month { left: 5em; margin-left: 0 !important }
.day { left: -3em; margin-left: 0 !important }
.year { left: 2.5em; margin-left: 0 !important }

any help would be greatly appreciated 

Thank you

Link to comment
  • Replies 8
  • Views 2.9k
  • Created
  • Last Reply
3 hours ago, OliElson said:

Site URL: http://www.wildwoodovens.co.uk

Hi, I am trying to change my format from US to UK

I am using the following code but It isn't working. I think it just needs tweaking to fit my template but I cant seem to manage it 

my code is
 


.form-wrapper .field-list .date .field { position: relative }
.month { left: 5em; margin-left: 0 !important }
.day { left: -3em; margin-left: 0 !important }
.year { left: 2.5em; margin-left: 0 !important }

any help would be greatly appreciated 

Thank you

@OliElson, you won't want to use margin-left or left positioning to change the form fields, there's a good chance that doing this will make the form inputs overlap. Depending on the template you may be able to do this with flexbox, or if not you could rearrange the elements with JavaScript. Feel free to share the site password and we can help out. 

Philadelphia, PA

👉 Squarespace Tutorials 

Chat/Message on FB Messenger for quickest responsehttps://m.me/dejaegherryan

 

Link to comment
4 hours ago, OliElson said:

Site URL: http://www.wildwoodovens.co.uk

Hi, I am trying to change my format from US to UK

I am using the following code but It isn't working. I think it just needs tweaking to fit my template but I cant seem to manage it 

my code is
 


.form-wrapper .field-list .date .field { position: relative }
.month { left: 5em; margin-left: 0 !important }
.day { left: -3em; margin-left: 0 !important }
.year { left: 2.5em; margin-left: 0 !important }

any help would be greatly appreciated 

Thank you

You mean date format on Contact form? Where is contact form?

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
3 minutes ago, tuanphan said:

You mean date format on Contact form? Where is contact form?

Sorry, It's not on the contact form, it is on the checkout form. We require a date on which they would like the delivery on purchase.

The best way to get to this is press "Hire today" in the top right and go through as if you where making a purchase and there is the delivery date option 

 

Much appreciated 🙂

Link to comment
4 minutes ago, OliElson said:

Sorry, It's not on the contact form, it is on the checkout form. We require a date on which they would like the delivery on purchase.

The best way to get to this is press "Hire today" in the top right and go through as if you where making a purchase and there is the delivery date option 

 

Much appreciated 🙂

checkout form on /checkout?

You can't insert code on Checkout page., have you tried contacting Squarespace Customer Care yet? 

https://support.squarespace.com/hc/en-us/requests/new?_ga=2.20609656.1333366646.1591589659-65295305.1590669611#choose-topic

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
12 minutes ago, tuanphan said:

checkout form on /checkout?

You can't insert code on Checkout page., have you tried contacting Squarespace Customer Care yet? 

https://support.squarespace.com/hc/en-us/requests/new?_ga=2.20609656.1333366646.1591589659-65295305.1590669611#choose-topic

Hi, Thanks again for your help

How about if i add the form on the product page 

If you could press continue on the test purchase to see what I mean on https://wildwoodovens.co.uk/store/test

 

Many thanks 

Oli

Link to comment

Archived

This topic is now archived and is 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.