Forms

Updated

Usage

Open Appearance → Customize → Styles → Forms to style text fields, dropdowns, and text areas across the site. Set the field Font and padding, then Input height, Border width, Border radius, Border color, and Border color on focus so fields match your buttons.

The Label settings style field names; on the WooCommerce login and register forms, labels take your Label color. The Sublabel settings do the same for the helper text under fields. Colors come from Styles → Palette.

When to use it

  • Contact or checkout forms look out of place next to your buttons. Match Border radius with Styles → Buttons.
  • Labels or hints are hard to read against your background.
  • Before launch, to give Gravity Forms and WooCommerce checkout a consistent look.

Tips

  • Border color on focus defaults to Primary, so the field a visitor is typing in shows your brand color.
  • Visitors using a keyboard also see an outline around the field they're on, the same one links and buttons get, even when the two border colors are close.
  • Label weight and Sublabel color (default Muted) set field names apart from helper text.
  • Label capitalization and Sublabel capitalization set uppercase or capitalization separately for field names and helper text.
  • Submit buttons use Styles → Buttons, not these settings.
  • Success and error messages use the palette Success and Failure colors. Adjust them under Styles → Palette. Where Failure would be hard to read (a contrast under 4.5:1), error text shows a darker shade of it, or a lighter one on dark sections, just enough to read. Where it reads, it's shown as you picked it. In Reverse Print sections, error text stays white where white reads, and shows a readable shade of Failure only where it doesn't.
  • Label width and Sublabel width show when the label font comes in several widths and is set to Full axis in Dirigible Fonts. Uncheck Default and drag the slider for a condensed (narrower) or expanded (wider) cut of the font; the slider covers only the widths the font has. Leave Default checked to keep the width the text has now.

Settings

Forms

Font

Picks which of the three stacks from Styles → Fonts this style uses. Each row shows the family behind it, with a sample set in that font.

  • Headings
  • Bodydefault
  • Alternate
Horizontal padding0 to 64 px. Default 16.
Vertical padding0 to 64 px. Default 8.
Input height24 to 128 px. Default 48.
Border width0 to 8 px. Default 1.
Border radius0 to 100 px. Default 0.
Border color
  • None
  • White
  • Text
  • Primary
  • Secondary
  • Accent
  • Variant
  • Muteddefault
  • Gray
Border color on focus
  • None
  • White
  • Text
  • Primarydefault
  • Secondary
  • Accent
  • Variant
  • Muted
  • Gray
Label font

Picks which of the three stacks from Styles → Fonts this style uses. Each row shows the family behind it, with a sample set in that font.

  • Headings
  • Bodydefault
  • Alternate
Label color
  • Textdefault
  • Primary
  • Secondary
  • Accent
  • Variant
  • Muted
Label size8 to 24 px. Default 14.
Label letter spacing-0.2 to 0.3 em. Default 0.
Label width

Shows when this style's font comes in several widths and is set to Full axis in Dirigible Fonts. Uncheck Default, then drag for a narrower (condensed) or wider (expanded) cut; the slider covers only the widths the font has. Default keeps the width the text has now.

Label weight

With a variable font, a slider and a number box cover the weights the font has. With other fonts, only the weights Dirigible Fonts loads show. A saved weight the font doesn't load is marked, with a note.

  • Extra light
  • Light
  • Normal
  • Book
  • Semibold
  • Bolddefault
  • Extra bold
  • Black
  • Extra black
Label style

Italic shows when the font has an italic loaded in Dirigible Fonts; with no italic, Style is hidden. A saved Italic the font doesn't load is marked, with a note.

  • Normaldefault
  • Italic
Label capitalization
  • Nonedefault
  • Uppercase
  • Lowercase
  • Title Case
Sublabel font

Picks which of the three stacks from Styles → Fonts this style uses. Each row shows the family behind it, with a sample set in that font.

  • Headings
  • Bodydefault
  • Alternate
Sublabel color
  • Text
  • Primary
  • Secondary
  • Accent
  • Variant
  • Muteddefault
Sublabel size6 to 24 px. Default 12.
Sublabel letter spacing-0.2 to 0.3 em. Default 0.
Sublabel width

Shows when this style's font comes in several widths and is set to Full axis in Dirigible Fonts. Uncheck Default, then drag for a narrower (condensed) or wider (expanded) cut; the slider covers only the widths the font has. Default keeps the width the text has now.

Sublabel weight

With a variable font, a slider and a number box cover the weights the font has. With other fonts, only the weights Dirigible Fonts loads show. A saved weight the font doesn't load is marked, with a note.

  • Extra light
  • Light
  • Normal
  • Book
  • Semibold
  • Bolddefault
  • Extra bold
  • Black
  • Extra black
Sublabel style

Italic shows when the font has an italic loaded in Dirigible Fonts; with no italic, Style is hidden. A saved Italic the font doesn't load is marked, with a note.

  • Normaldefault
  • Italic
Sublabel capitalization
  • Nonedefault
  • Uppercase
  • Lowercase
  • Title Case

Built by Dirigible Studio. Get in touch