Design and Layout

Whether you're a beginner or an advanced user, Gravity Forms makes it easy to style your forms as you see fit.

There's a reason that designers love Gravity Forms - targeting specific elements, forms, fields, etc. is quick and easy with CSS selectors and ready classes for everything you could dream of.

When not employing a built-in form theme, Gravity Forms is un-opinionated and intentionally utilizes your theme's styles to make your forms blend seamlessly into your existing designs with minimal modifications.

All Categories

Articles

Example: Changing Font Sizes

Gravity Forms utilizes your current theme’s stying, but in some cases, you may need to change your font size that your theme defines. Here’s how to do it.

Modifying Field Layout with CSS Ready Classes

In Gravity Forms 1.5 we added "Ready Classes". Using these new classes, you can easily create more advanced alternative layouts for the fields in your forms.

CSS Element Naming Structure

Gravity Forms are structured so that every element can be targeted and manipulated via CSS. Most elements share reusable class names to affect styling, and many elements have unique ID’s that you can use to target specific elements within the form.

CSS Visual Guide and Design Overview

We’ve put together a simple visual guide to help illustrate the structure of a form and the CSS class relationship.

Changes to markup in Gravity Forms 2.5

Gravity Forms 2.5 introduced significant updates to the markup used, and this article contains a list of the major changes that designers should consider.

About Legacy Markup

Legacy markup is a term we used in Gravity Forms to identify the markup code and practices that existed in prior to version 2.5 of our core product. This article explains more.

CSS Targeting Examples

Overview and usage examples for targeting each CSS element in Gravity Forms.

Total Field CSS Selectors

Overview and examples of the CSS selectors available for totals.

Shipping Field CSS Selectors

Overview and examples of the CSS selectors available for shipping fields.

Option Field CSS Selectors

Overview and examples of the CSS selectors available for option fields.