Style the Ascora booking form
The Styles tab changes how the form looks and what its headings say. It has three sections in the left menu: Layout options, Fonts and colours and Headings and labels. The tab is open to every plan.
The page reminds you: "While you can change the settings and preview on the dashboard, we recommend that you test the form on your website." Your website's own stylesheet can override colours and sizes.
Step by step
- Open your form from Forms, then the Styles tab.
- Pick a section on the left, change what you need and click Save.
Layout options and Fonts and colours are one set of styles. Either Save writes both, so what you changed on one is kept when you save the other. Headings and labels saves separately. Unsaved changes stay while you move between the three sections, and you are asked before you leave the form without saving.
The page confirms with "Form styles updated." or "Headings and labels updated."
Layout options
- CSS Class Name: a class the form puts on its parts, for styling from your own website. Leave it blank if unsure.
- CSS Font Family: a
font-familydefinition such assans-serif, without the trailing semicolon. - Booking summary & confirmation button position: Sidebar shows the summary on the right of the form, on desktop only. Bottom shows it under the form.
- Enable single section display: shows one section at a time to save space.
- Inactive sections display: Hide inactive form sections shows only the section title while a section is unavailable. Show inactive form sections shows its helper message instead. Only applies when single section display is off.
- Booking summary: Show booking summary or Hide booking summary.
Fonts and colours
At the top, Import styles from a website reads another site's colours into the fields below: type its address under Website address and click Import style. Only the colours it was sure of are filled in, and nothing is saved until you click Save.
- Text: Heading colour, Body text colour, Heading font size and Body text font size. A preview shows both.
- Form Fields: Field Font Size, and colours for background, border and text, once for Inactive and once for Focus.
- Button: Button background colour, Button text colour, the same two for Hover, and Button font size.
- Custom CSS Code: a code box for your own CSS. Each form part has its own class, such as
.mycompany-Customer, once you set a CSS Class Name under Layout options. The page then lists every class available for the form shell, services, date and time, customer, site, job, attachments and legal, and the confirmation summary.
The defaults are black text, white fields with black borders, a black button with white text, a 1.5rem heading, and 1rem for body, fields and button. While you test font sizes, remember a website's stylesheet can override them.
Headings and labels
Each section of the form has a title, a caption and a message shown while the section is unavailable. If a label is left blank the form uses the default shown as the box's hint:
- Services: "Select Service" and "No services are available."
- Date and time: "Date and Time" and "Please select a service."
- Contact details: "Contact Details" and "Please select a date and time."
- Customer address: "Customer Address" and "Please complete your contact details."
- Site address: "Location Address" and "Please complete customer details."
- Job details: "Job Details" and "Please complete site details."
- Attachments: "Attachments" and "Please complete booking details."
- Summary and confirmation: "Your Booking", "Still to complete" and the button's "Confirm booking".
Captions start empty. The unavailable messages only show when Inactive sections display is set to show them.
When it goes wrong
My colours don't change on the website
Your website's stylesheet is winning. Add the rule to Custom CSS Code, using the class name you set under Layout options. The form must also be published again after saving, which saving does for you.
Import style didn't fill the colours
Only colours the importer was sure of are read, so some boxes stay as they were. Type the rest in by hand.