Jump to content

Hide time zone on submission form?

Go to solution Solved by paul2009,

Recommended Posts

I'm in the UK and it's current British Summer Time (BST).

On my booking form, underneath the  "Requested time" field, it says "In Greenwich Mean Time" (please see attached screen shot).

I've spoken to Squarespace support and they say this cannot be hidden and there is no option for British Summer Time.

I understand I will need some custom code in order to hide "In Greenwich mean time", but I don't know how/where to get this from.

Can anyone point me in the right direction please?

Thank you very much in advance.

Screenshot 2023-07-22 at 12.47.05.jpeg

Link to comment
  • Solution
1 hour ago, TheCarDen said:

On my booking form, underneath the  "Requested time" field, it says "In Greenwich Mean Time"

Yes, this is one of a number of changes that were made in May 2023. Unhelpfully, it takes this wording from the site's Regional Settings without taking into account daylight saving.

You can hide the label completely by adding this to Custom CSS:

/* Hide timezone label on time fields */
.field.time p {
  display: none;
}

Alternatively, you can add some text to the existing label like this:

image.png.67cdf46a584bd8946d88fc4653a07d11.png

/* Add BST to timezone label on time fields */
.field.time p::after {
  content: "/British Summer Time"
}

I hope this helps.

Did this help? Please give feedback by clicking an icon below  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.