TidyForms
See the demo
Design

Change field style, fonts and custom CSS

Set the field style, font, size, spacing and width, then fine-tune with custom CSS per form or store-wide, and custom scripts on Pro+.

Works today in the beta 6 steps 4 min read Updated

Step by step

  1. Pick a field style

    In Design, click a tile under Field style. Each tile shows a normal field and a selected one in your theme's colours.

    Design step scrolled to field style, font, size, spacing and width, with Field style highlighted.
    Field style
  2. Set the font and size

    Under Text, Font is set to Inherit from theme by default. Change it on Pro, and pick a Font size of Small, Medium or Large.

    Design step scrolled to field style, font, size, spacing and width, with Font highlighted.
    Font
  3. Set spacing and width

    Choose Compact or Comfortable spacing between fields. Set Width to Fit section or Narrow.

    Design step scrolled to field style, font, size, spacing and width, with Spacing highlighted.
    Spacing
  4. Open the CSS tab

    Scroll to Custom CSS and scripts and keep the CSS tab open. Click a quick style like Pill buttons to add its CSS to the box.

    Design step scrolled to custom CSS: snippets, parts and the CSS box, with CSS tab highlighted.
    CSS tab
  5. Style any part from the preview

    Click Pick from preview, then click any part of the form. Its selector is added to the box, ready for your styles.

    Design step scrolled to custom CSS: snippets, parts and the CSS box, with Pick from preview highlighted.
    Pick from preview
  6. Add CSS to every form

    For styles that should apply to all your forms, go to Settings, open Custom CSS and turn on Add custom CSS to all forms.

    Settings, css tab.

Field styles

  • Outline: a thin border on every side. Works with any theme.
  • Filled: soft grey boxes, no border. Calm and modern.
  • Line: just a line underneath. Minimal, for editorial themes.
  • Floating label: the label sits inside the box. Saves space on long forms.
  • Pill: fully rounded boxes. Playful, and matches rounded buttons.

Text, spacing and width

Font offers Inherit from theme plus a short list of web fonts: Assistant, Jost, Archivo, Cormorant Garamond and Bricolage Grotesque. Font size changes the size of all text in the form. Spacing sets the gap between fields. Width set to Fit section uses the width of the section the form is in, and Narrow keeps it slim, which suits sign-ups and popups.

Custom CSS for one form

On Pro, the CSS tab gives you:

  • Quick styles: ready-made rules such as Pill buttons, Gradient button, Bigger labels, Soft card shadow, Hide required stars, Spaced-out title and Wider form. Click one, then edit the values.
  • Style a part: chips for Form, Card, Title, Intro, Labels, Inputs, Choices, Buttons, Submit, Errors and Thank-you. Each adds the right selector, like .tf-submit for the submit button.
  • Pick from preview: click a part of the form instead of guessing its class.

The preview updates as you type. The line under the box counts your rules and warns about mistakes, like a { that is never closed, or position: fixed, which can cover your store on phones. Tab adds spaces and Ctrl+Z undoes.

Your CSS is scoped to this form only. If you need a hook for CSS in your theme files instead, add a class in Extra class on the form. Most stores don’t need it.

Store-wide CSS

Settings › Custom CSS has one box for rules that apply to every TidyForms form on your storefront, also on Pro. Every class starts with .tf-, so it never touches the rest of your theme. Per-form CSS stays in each form’s Design step.

Custom scripts on Pro+

The Scripts tab runs your own code when people view, answer or send a form, for tag managers, ad pixels and chat tools. Turn on Run my scripts on the store, then start from a recipe or an event.

Code uses tidyforms.on(event, fn) with the events view, start, answer, step, error and submit, and tidyforms.set('Label', value) to fill a field. In Try it, a log shows each event as it fires. Scripts never run in your admin, and a script that keeps failing is paused and we email you.

Tip: Only add scripts you trust. Test them in Try it before you publish.

Questions

Can my CSS break my theme?

No. Form CSS only applies to that one form, and store-wide CSS only to TidyForms forms. Neither can restyle your theme or the admin.

Which plan do I need?

Field style, size, spacing and width are on every plan. Fonts and custom CSS need Pro. Custom scripts need Pro+.

Why was part of my CSS removed?

Imports and style or script tags are taken out. Paste plain CSS only, and pick fonts in Design under Font.

Still stuck?

Email hello@tidyforms.app with your store URL and a screenshot. A person on the team replies, usually within hours. Or click through it yourself in the live demo.

Free during the beta

Join the TidyForms beta

We’re opening TidyForms to a small group of Shopify stores first. Beta stores get 3 months of Pro free and a direct line to the team.

We only use your email for the beta. No spam, and you can leave any time.