Set the booking form fonts, colours and custom CSS

Fonts and colours is the second page of the Styles tab. It sets the colours and font sizes of the text, the fields and the button, and has a box for your own CSS. The page works on every plan. Click Save at the foot of the page. The page says "Fonts and colours updated." and saving publishes the form.

The page warns that font sizes can clash with, or be overridden by, your website's own stylesheet.

Import styles from a website

Import styles from a website reads colours from a site into the colour fields. Enter the full address in Website address, starting https:// or http://, and click Import style. Nothing is saved until you click Save, so check the previews first.

It fills only the colours it could read and leaves the rest as they were. It never changes font sizes or fonts. It can fill any of the twelve colour boxes: heading and body text colour, the inactive and focus field colours, and the button colours. If it fails you see one of "Enter the website's full web address, starting https:// or http://.", "Could not read that website. Check the address and try again." or "No colours could be read from that website."

The controls

Each colour has an Edit button that opens a colour picker. Font sizes take any CSS size, such as 1rem or 16px.

Group Controls Applied to
Text Heading colour, Heading font size, Body text colour, Body text font size Section headings (h2) and paragraphs (p)
Form Fields Field Font Size, Inactive: Field background colour, Inactive: Field border colour, Inactive: Field text colour, Focus: Field background colour, Focus: Field border colour, Focus: Field text colour Text, email and phone inputs and text areas
Button Button background colour, Button text colour, Button font size, Hover: Button background colour, Hover: Button text colour Buttons, except the date, time and option buttons

The Inactive colours are the field's normal look. The form applies the Focus colours while the pointer is over a field. A Text Preview, Field Preview and Button Preview beside the boxes show your choices as you make them.

First save

A form that has never saved this page uses the form's own look. The first Save writes the value in every box to the form, so the form changes the first time you save. The boxes start as black text, white fields with black borders, a black button with white text, 1rem for body text, fields and the button, and 3rem for headings.

Custom CSS

Custom CSS Code is a code box for your own rules. They apply inside the form.

When a CSS Class Name is set on Layout options, the box has a note naming it, and the page lists every class you can aim at, as the name, a hyphen and the part. For a name of MyForm that gives .MyForm-Heading. They are grouped as Form shell, Categories and services, Service options, Date and time, Customer, Site, Job and quote, Locations, Attachments, payment and legal, Confirmation and Every dropdown field. Some names carry a field ID, such as CustomerCustomFieldSelectContainer-{fieldID}. Without a class name the list does not appear.

When it goes wrong

My colours do not show on the website

Your website's stylesheet can override the heading and body text settings. The form sets the field and button colours and the button font size with !important. Check that the form was published: if the page says it could not update the fonts and colours, the settings may be saved but not live. Save again.

The form changed colour when I saved

See First save above. Every box is written on the first save, including any left at its starting value.

The form title or a field label has not changed

The heading colour and size apply to section headings, and the body text settings apply to paragraphs. The form title and field labels keep your website's styling.