🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 19, 2026

How to Style Gravity Forms in Bricks Builder (Step by Step)

GravityExtra
How to Style Gravity Forms in Bricks Builder (Step by Step)

Gravity Forms is the form plugin many Bricks Builder sites already trust: conditional logic, multi-page forms, payments, notifications and a long list of add-ons. Bricks is where those sites are designed, with global colours, theme styles and pixel-level control. The trouble starts when the two meet. A Gravity Form dropped into a Bricks page rarely looks like the rest of the site, and getting it there has usually meant a shortcode, an empty box in the builder and a long custom stylesheet.

This tutorial shows how to style Gravity Forms in Bricks Builder step by step: the common problems, the CSS approach and its limits, and a faster way with a native Bricks element that shows the real form in the canvas and puts every part of the form in the Style tab.

Why Gravity Forms is hard to style in Bricks

Most Bricks users run into the same four problems:

  1. The form does not show in the builder. The Shortcode element renders the form without its Gravity Forms stylesheets, and forms with conditional logic stay hidden because Gravity Forms waits for its scripts, which do not run in the canvas. You design blind and check the front end in another tab.
  2. Buttons do not match. Your Bricks buttons come from Theme Styles. The Gravity Forms Submit, Next and Previous buttons have their own classes and theme, so they ignore those styles.
  3. Errors, confirmations and later pages are out of reach. Validation messages appear only after a failed submission, the confirmation only after a successful one, and page two of a multi-page form only after page one is complete. Styling them means submitting the form again and again.
  4. Theme specificity. Since version 2.7, Gravity Forms ships the Orbital theme with its own CSS variables and fairly specific selectors. Simple rules in Bricks often lose to them.

Option 1: style Gravity Forms with custom CSS in Bricks

You can style a form by hand. Add the Shortcode element with

Oops! We could not locate your form.

, give it a class such as my-form and add CSS in the page settings or a code element:

.my-form .gform_wrapper .gfield_label { font-weight: 600; }
.my-form .gform_wrapper input[type=text],
.my-form .gform_wrapper input[type=email],
.my-form .gform_wrapper textarea {
  border: 1px solid #d9d3c9;
  border-radius: 12px;
  background: #f8f6f2;
}
.my-form .gform_wrapper .gform_button {
  background: var(--bricks-color-primary);
  border-radius: 999px;
}

This works for simple forms, but it has costs. You need to know the Gravity Forms class names for every field type and for each theme (Orbital, the 2.5 theme and legacy markup use different markup). You have to raise specificity to beat Orbital, keep focus, hover and error states in sync, and redo the button styles by hand whenever your Theme Styles change. And you still cannot see any of it in the builder.

Tip: Orbital CSS variables

If you stay with CSS, set Orbital variables such as --gf-ctrl-border-color or --gf-color-primary on the form wrapper instead of overriding each rule. Gravity Forms derives hover and focus shades from them.

Option 2: a native Gravity Form element for Bricks

The Gravity Forms Element for Bricks Builder replaces the shortcode with a real Bricks element. It renders the form through the Gravity Forms API, so fields, conditional logic, add-ons and feeds behave as usual, and it adds the styling layer Bricks users expect.

A Bricks page for Harbour Light Yoga with a Gravity Forms booking form in a white card: labels in semi-bold dark text, soft beige inputs with rounded corners, the name and email fields side by side, radio buttons and checkboxes laid out as two-column choice cards, a textarea and a rounded green Reserve my mat button that uses the Bricks theme button style
A Gravity Form styled with the Bricks element controls; the button uses the Bricks theme button style.

Step 1: add the element and pick a form

  1. Install and activate the add-on and enter your license key in Forms → Settings → Bricks Form Element.
  2. Edit a page with Bricks and search the elements panel for Gravity Form.
  3. Drop it into a container and pick your form. The real form appears in the canvas with its Gravity Forms styles, including forms that use conditional logic.

In the Content tab you also set the title, description, AJAX submission, tab index and the form theme. If you build many forms on one site, the 2.5 theme is the lightest starting point and the easiest to restyle; Orbital gives you a polished base and its own colour settings.

Step 2: make the buttons use your Bricks theme styles

Tick Use Bricks button styles. Submit, Next and Previous now get the Bricks button classes, so they pick up the button style, size and colours from Theme Styles. Choose primary or secondary, a size, outline or circle, just like the Bricks Button element. The add-on also switches off the Orbital button styles for these buttons, so nothing fights your theme. The classes stay after an AJAX validation error and on every page of a multi-page form.

Step 3: style labels, inputs and selects

Open the Style tab. Each group maps to a part of the form:

  • Labels: typography, the space below the label, the colour of the required marker and the sub-labels of name and address fields.
  • Inputs & textareas: typography, placeholder colour, background, border, radius, padding, height and shadow, plus the focus background, border and ring.
  • Selects: their own typography, background, border and padding, because a select rarely wants the same padding as a text input.

All controls accept Bricks colour variables, so the form follows your global palette. Because the CSS is scoped to the element, two forms on the same page can look completely different.

Step 4: turn checkboxes and radios into choice cards

In Checkboxes & radios, set Columns to 2 and give each choice a background, a border and some padding. The choices become tidy cards in a grid. Set the checked colour to your brand colour and adjust the box size if your labels are large.

Step 5: style validation messages without submitting

Switch Builder preview to Validation errors. The canvas now shows the error summary and the messages under the required fields, without any submission. In the Style tab, open Validation and style the summary box, the field messages, the label colour on error and the input border on error. Switch the preview back when you are done; visitors never see the preview.

The same Gravity Forms booking form after an empty submission: an orange-bordered summary box saying there was a problem with the submission, labels of the failed fields in dark orange, orange input borders and short orange messages under the name, email and class fields, all styled with the Bricks element controls
Validation summary, error labels, input borders and field messages, all set in the Style tab.

Step 6: style multi-page forms, progress bars and steps

For a multi-page form choose A page of a multi-page form and enter a page number. The canvas shows that page with the progress bar or steps updated. In Progress bar & steps set the track and fill colours, the bar height and radius, the step typography and the colours of the active step. Use the Buttons group to give the Previous button a quieter look than Next.

A three-step Gravity Forms membership application in Bricks: step indicators with a green check for Contact, a filled green number for the active step Your plan and an outlined number for Health, membership choices as two-column cards, a select for the home studio and Previous and Next buttons in the Bricks button style
A multi-page form: steps, choice cards and Bricks-styled Previous and Next buttons.

Step 7: style the confirmation message

Choose Confirmation message in the builder preview and style it in the Confirmation message group: background, border, padding, typography and shadow. If your form redirects instead, the canvas shows a sample text so the box is ready if you ever switch to a text confirmation.

Style Gravity Forms in Bricks without custom CSS

Get the Gravity Forms Element for Bricks Builder

Gravity Forms in Bricks query loops

Forms inside loops are a common need: an enquiry form under each property, a booking form on every workshop card. Use Field values with dynamic data, for example workshop={post_title}, to send the current post to a field with that parameter name. If each item needs a different form, store the form ID in a custom field and use its tag in Form ID from dynamic data.

Keep in mind that Gravity Forms expects each form only once per page. The element skips a second copy of the same form by default and tells logged-in editors why; you can allow repeats if your form is simple and does not rely on conditional logic or AJAX.

Performance tips for Gravity Forms on Bricks sites

  • Load forms in the page head. The element enqueues the Gravity Forms styles for forms it finds on the page before the body renders, so there is no flash of an unstyled form.
  • Avoid extra libraries. The element adds about 1 KB of CSS and no JavaScript, and it does not add jQuery. Gravity Forms still loads the scripts it needs for its own features.
  • Use AJAX for long forms so a validation error does not reload the whole page.
  • Prefer the 2.5 theme when you plan to restyle almost everything; Orbital is better when you only change colours and spacing.

Accessibility checklist

  • Keep a visible focus ring: set the focus border colour and ring in Inputs & textareas.
  • Keep enough contrast for labels, placeholders and error messages.
  • Do not hide labels to save space; use smaller sub-label typography instead.
  • Check the confirmation and error states with the preview options, not only the empty form.

Frequently asked questions

Does it work with the Orbital theme and legacy markup?

Yes. The style controls target the markup of the Orbital theme, the 2.5 theme and forms with legacy markup turned on. Orbital colour settings are passed to Gravity Forms as its own style settings.

Will my existing Gravity Forms add-ons still work?

Yes. The element renders the form with the Gravity Forms API, the same way the shortcode does, so fields from add-ons, feeds, notifications and payment add-ons behave as usual.

Can I put more than one form on a page?

Yes. Each element has its own settings and its own scoped styles, so a newsletter form and a contact form on the same page can use different themes and button styles.

Does it slow the page down?

No noticeable change: about 1 KB of CSS, no JavaScript and no jQuery added by the element.

Summary

Styling Gravity Forms in Bricks Builder used to mean a shortcode, custom CSS and a lot of test submissions. With a native element you see the real form in the canvas, give the buttons your Bricks theme styles with one checkbox and style labels, inputs, choices, errors, steps and confirmations from the Style tab, with preview states for the parts that only appear after a submission.

Style Gravity Forms in Bricks without custom CSS

Get the Gravity Forms Element for Bricks Builder

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr