Form Appearance (CSS)

Goal: Style your embedded withdrawal form so it matches your store — without writing CSS.

Rule: Changes apply live in the preview, but only take effect on your store after Save. The preview uses demo data (the first two products of your store, or sample items) — nothing is submitted or saved from the preview.

Form Appearance editor with live preview

Where to Find It

Settings → Form Appearance (CSS) (or open /app/settings/custom-css directly). The feature requires the Grow plan; on lower plans the page is locked.

The Editor

The page has two columns: the settings on the left, the live preview on the right.

Colors

  • Primary color — buttons, links, selection borders and the focus ring of inputs
  • Form background — background of the form (with a checkbox for transparent)
  • Text color, Input text color, Input background, Input border
  • Muted text — hints, item variants, review labels
  • Required-field asterisk
  • Sections & items — review section background/border, line item background, line item border + hover, selected item background, item title
  • Buttons — secondary button background/border/text
  • Alerts — success alert background/text/border

Layout

  • Border radius — slider (0–32 px) plus a value field; applies to inputs, buttons, line items, sections and alerts alike
  • Form width — maximum container width
  • Font size — slider (12–24 px) plus a value field; applies to labels, inputs, buttons, item titles and review rows

Live preview

The preview renders the real form with demo data: the first two products of your store with images (fallback: sample items). Use the Form / Review / Success buttons to jump straight to a state, and Reset demo to restart.

Live preview showing the success state

Advanced

  • Custom CSS (advanced) — raw CSS appended after the generated styles. Existing custom CSS that the editor cannot represent is kept here automatically and keeps working.
  • CSS @import URLs — one HTTPS URL per line (max 5), e.g. for fonts.
  • Generated CSS (read-only) — shows exactly what is saved and applied to the form.

Sample Styles

Three ready-made looks to start from. Either enter the values in the editor, or paste the CSS block into Custom CSS (advanced) — it is appended after the generated styles and produces exactly the look shown.

Classic

Classic sample style

Builds on the default colors and border radius (8 px) with a larger font size (15 px).

:root {
  --wf-radius: 8px;
}
body {
  font-size: 15px;
}
.wf-form-label {
  font-size: 15px;
}
.wf-form-input, .wf-form-textarea {
  border-radius: 8px;
  font-size: 15px;
}
.wf-items-section {
  border-radius: 8px;
}
.wf-line-item {
  border-radius: 8px;
}
.wf-item-image {
  border-radius: 8px;
}
.wf-quantity-input {
  border-radius: 8px;
}
.wf-item-title {
  font-size: 15px;
}
.wf-btn-primary {
  border-radius: 8px;
  font-size: 15px;
}
.wf-btn-secondary {
  border-radius: 8px;
  font-size: 15px;
}
.wf-review-section {
  border-radius: 8px;
}
.wf-alert {
  border-radius: 8px;
}
.wf-review-item {
  font-size: 15px;
}

Minimal

Minimal sample style

Black on white with thin borders and a very large border radius (24 px).

:root {
  --wf-primary: #111111;
  --wf-text: #1a1a1a;
  --wf-radius: 24px;
  --wf-max-width: 640px;
}
body {
  color: #1a1a1a;
}
.wf-form-container {
  max-width: 640px;
}
.wf-form-input, .wf-form-textarea {
  color: #1a1a1a;
  border-color: #e5e5e5;
  border-radius: 24px;
}
.wf-form-input:focus, .wf-form-textarea:focus {
  border-color: #111111;
}
.wf-form-label-required::after {
  color: #c0392b;
}
.wf-form-hint {
  color: #8a8a8a;
}
.wf-select-all-btn, .wf-toggle-manual-btn {
  color: #111111;
}
.wf-items-section {
  border-radius: 24px;
}
.wf-line-item {
  border-color: #ececec;
  border-radius: 24px;
}
.wf-line-item:hover {
  border-color: #d4d4d4;
}
.wf-item-image {
  border-radius: 24px;
}
.wf-quantity-input {
  border-radius: 24px;
}
.wf-line-item.wf-selected {
  border-color: #111111;
  background-color: #f2f2f0;
}
.wf-item-title {
  color: #1a1a1a;
}
.wf-item-variant, .wf-item-quantity, .wf-quantity-max {
  color: #8a8a8a;
}
.wf-quantity-label {
  color: #1a1a1a;
}
.wf-btn-primary {
  background-color: #111111;
  border-radius: 24px;
}
.wf-btn-primary:hover:not(:disabled) {
  background-color: #111111;
}
.wf-btn-secondary {
  border-color: #d4d4d4;
  color: #1a1a1a;
  border-radius: 24px;
}
.wf-review-section {
  background-color: #f7f7f5;
  border-color: #ececec;
  border-radius: 24px;
}
.wf-alert {
  border-radius: 24px;
}
.wf-review-item-label {
  color: #8a8a8a;
}
.wf-review-item-value {
  color: #1a1a1a;
}
.wf-alert-success {
  background-color: #eaf7ec;
  color: #1e5a2a;
  border-color: #bfe3c5;
}

Bold

Bold sample style

Dark theme with a violet accent — inputs, line items and sections share the dark surface.

:root {
  --wf-primary: #8b5cf6;
  --wf-bg: #0f172a;
  --wf-text: #e2e8f0;
  --wf-radius: 12px;
}
body {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 15px;
}
.wf-form-label {
  font-size: 15px;
}
.wf-form-input, .wf-form-textarea {
  color: #f1f5f9;
  background-color: #1e293b;
  border-color: #334155;
  border-radius: 12px;
  font-size: 15px;
}
.wf-form-input:focus, .wf-form-textarea:focus {
  border-color: #8b5cf6;
}
.wf-form-label-required::after {
  color: #f87171;
}
.wf-form-hint {
  color: #94a3b8;
}
.wf-select-all-btn, .wf-toggle-manual-btn {
  color: #8b5cf6;
}
.wf-items-section {
  border-radius: 12px;
}
.wf-line-item {
  background-color: #1e293b;
  border-color: #334155;
  border-radius: 12px;
}
.wf-line-item:hover {
  border-color: #475569;
}
.wf-item-image {
  border-radius: 12px;
}
.wf-quantity-input {
  border-radius: 12px;
}
.wf-line-item.wf-selected {
  border-color: #8b5cf6;
  background-color: #312e81;
}
.wf-item-title {
  color: #f1f5f9;
  font-size: 15px;
}
.wf-item-variant, .wf-item-quantity, .wf-quantity-max {
  color: #94a3b8;
}
.wf-quantity-label {
  color: #f1f5f9;
}
.wf-btn-primary {
  background-color: #8b5cf6;
  border-radius: 12px;
  font-size: 15px;
}
.wf-btn-primary:hover:not(:disabled) {
  background-color: #8b5cf6;
}
.wf-btn-secondary {
  background-color: #1e293b;
  border-color: #475569;
  color: #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
}
.wf-review-section {
  background-color: #1e293b;
  border-color: #334155;
  border-radius: 12px;
}
.wf-alert {
  border-radius: 12px;
}
.wf-review-item-label {
  color: #94a3b8;
}
.wf-review-item-value {
  color: #f1f5f9;
}
.wf-review-item {
  font-size: 15px;
}
.wf-alert-success {
  background-color: #0f3d2e;
  color: #6ee7b7;
  border-color: #10b981;
}

Rules & Limitations

  • Requires Grow plan or higher.
  • Color fields accept hex values or transparent; border radius, width and font size accept values like 8px, 1rem or 50%.
  • If the saved CSS contains conflicting values for one setting (e.g. a different radius per element), those rules are preserved in the Advanced box instead of being overwritten.
  • The generated CSS applies only to the embedded form (storefront), never to the admin interface.
  • Changes apply after saving; the storefront cache may take up to 5 minutes to refresh.

Troubleshooting

  • “Border radius / width must be a value like 8px, 1rem or 50%” — one of the layout fields contains an invalid value; fix it and save again.
  • “One or more colors are invalid” — a color field contains a value that is not a hex color or transparent.
  • “The provided CSS contains invalid or unsafe rules” — the Advanced CSS contains a blocked value (e.g. javascript: or non-HTTPS imports).
  • Existing custom CSS changed its meaning after opening the editor? — values that map to a setting (e.g. .wf-line-item { border-radius: … }) are adopted into the matching setting; everything else is preserved in the Advanced box. Conflicting values are never flattened.