☰

Free Gravity Forms add-on

CSS Selector

Click to add CSS Ready Classes, no class names to remember

CSS Selector is a free Gravity Forms add-on that adds a button to the field settings, which opens a pop-up with the CSS Ready Classes. Click to add choice columns, alert banners, inline fields, Gravity PDF and Gravity Perks classes, or your own custom classes.

The CSS Selector pop-up in the Gravity Forms editor, with CSS Ready Classes grouped by type, ready to click
The CSS Selector pop-up in the Gravity Forms editor, with CSS Ready Classes grouped by type, ready to click
The CSS Selector pop-up in the Gravity Forms editor, with CSS Ready Classes grouped by type, ready to click

For Gravity Forms users who style fields with CSS Ready Classes and do not want to look up class names every time.

Nothing to remember

You see all classes in one pop-up, grouped by type, with a short description of each. No more looking up the Gravity Forms documentation.

No typos

A mistyped class name does nothing. Clicking a button always adds the exact class.

Your house style in the same place

Add your own classes to the pop-up, so everyone who builds forms uses the same ones.

Use cases

  • Show a long list of checkbox options in three columns.
  • Put a colored notice above a form section with an HTML field.
  • Hide the character counter on a paragraph field.
  • Keep internal fields out of the PDF you send with Gravity PDF.
  • Hide a product field that has no visibility setting.
  • Give your team a fixed set of house-style classes in the pop-up.

Features

  • One click from the field settings

    A button under the Custom CSS Class setting opens the pop-up. Click a class to add it to the field. Double-click to add it and close the pop-up.

  • Layouts for choices

    Show radio buttons and checkboxes inline with gf_list_inline, or in two to five columns with gf_list_2col to gf_list_5col. Vertical columns such as gf_list_3col_vertical and fixed choice heights from gf_list_height_25 to gf_list_height_150 are also there.

  • Alert banners for HTML fields

    Turn an HTML field into a green, red, yellow, gray or blue banner message with gf_alert_green, gf_alert_red and the other alert classes.

  • Handy field classes

    Hide a field with gf_invisible, place it inline with gf_inline, make a scroll box with gf_scroll_text, or hide the am/pm selector and the character counter with gf_hide_ampm and gf_hide_charleft.

  • Gravity PDF and Gravity Perks

    Leave a field out of the PDF with exclude, start a new PDF page with pagebreak, or copy a value with the Copy Cat class copy-1-to-2.

  • Your own classes

    Add quick buttons and your own section to the pop-up with the gwp_css_selector_add_custom_css filter.

Ready to use CSS Selector? Free download.

Download for free

Why GravityWP

Gravity Forms specialists since 2014. The people who build the add-ons also answer your questions.

Built the Gravity Forms way

Our add-ons use the official Gravity Forms add-on framework, so settings, feeds and entries work the way you already know.

Compatibility guaranteed

Works with current Gravity Forms versions and certified add-ons like Gravity Flow, GravityView and Gravity Perks. If something conflicts, we fix it.

Support from the developers

Your question goes straight to the people who wrote the code. Good feature requests often make it into the next release.

What customers say

I tried the other css selector plugin but that looks like it has been abandoned. Found this and very impressed. Worked well and like all the options. […]
bruno05, review on WordPress.org
Does the job exactly how you want.. wish I could drop 10 points here
swiftblack, review on WordPress.org
Handy little plugin as I always forget the selectors. Many thanks
abiruth, review on WordPress.org

Free download

CSS Selector is free.

Download for free

Questions before you start? Ask us

Frequently Asked Questions

Is CSS Selector free?

Yes. CSS Selector is a free add-on for Gravity Forms.

Do I need to know CSS or write code?

No. You click the class you want and it is added to the field. Only adding your own classes to the pop-up needs a short snippet in your theme’s functions.php.

Can I add more than one class to a field?

Yes. Click several classes to combine, for example a column layout and a choice height.

Can I add my own CSS classes to the pop-up?

Yes. Use the gwp_css_selector_add_custom_css filter to add quick buttons and your own section at the top of the pop-up.

Does it slow down my forms?

No. It only runs in the form editor and adds class names to the field setting. It loads nothing on the front end of your site.

Which classes do I see?

The pop-up matches your Gravity Forms version. From Gravity Forms 2.5 you get the vertical column and alert classes; on older versions you also get the half, third and quarter column classes.

Examples

ClassUse it onResult
gf_list_3colRadio buttons, checkboxesChoices in three columns, left to right and then in rows
gf_list_2col_verticalRadio buttons, checkboxesChoices in two columns, top to bottom and then the next column
gf_alert_yellowHTML fieldThe field and its content become a yellow banner message
gf_hide_charleftParagraph text with a maximum number of charactersThe “characters left” counter is hidden
gf_invisibleFields without a visibility setting, like product fieldsThe field is hidden
excludeAny field (Gravity PDF)The field is left out of the PDF
pagebreakAny field (Gravity PDF)A new PDF page starts with this field at the top

Adding your own classes is described in the documentation.

Requirements

  • Gravity Forms 1.5 or later; the vertical column and alert classes appear from Gravity Forms 2.5
  • WordPress, tested up to 6.8
  • Optional: Gravity PDF, for the exclude and pagebreak classes
  • Optional: Gravity Perks Copy Cat, for the copy-1-to-2 class

Current version 1.1, updated 25 February 2026. View the changelog

Documentation and tutorials

All CSS Selector documentation

Changelog of CSS Selector

1.1

  • Added pot files for translations
  • Updated Dutch translation.

1.0.4

  • Minor enhancements.

1.0.3

  • Minor enhancements.

1.0.2

  • Added Gravity Forms version check, hide deprecated CSS Ready Classes in 2.5 and higher
  • Added title tags with more detailed description of the function of every CSS class
  • Added new vertical choices columns (gf_list_2col_vertical, gf_list_3col_vertical, gf_list_4col_vertical, gf_list_5col_vertical), only visible in GF 2.5 and higher
  • Added new HTML Field Classes (gf_alert_green, gf_alert_red, gf_alert_yellow, gf_alert_gray, gf_alert_blue), only visible in GF 2.5 and higher
  • Added gf_inline CSS Ready Class
  • Updated url to GravityWP documentation to add custom CSS buttons to the CSS selector (https://stg-gravitywpcom-staging.kinsta.cloud/doc/add-custom-css-buttons/)
  • Security enhancements

1.0.1

  • Updated url to official Gravity Forms CSS Ready Classes documentation (https://docs.gravityforms.com/css-ready-classes/)

1.0

  • Add gwp_css_selector_add_custom_css filter to add custom css
  • Updated translation files

0.2.2

  • Adjusted the Gravity PDF pagebreak CSS
  • Added gf_invisible CSS class
  • Combined list columns and list heights to Radio Buttons & Checkboxes
  • Changed links to documentation

0.2.1

  • Added pagebreak support for Gravity PDF
  • Updated translation file
  • Updated Dutch translation

0.2

  • Added CSS classes for Gravity PDF (exclude) and Gravity Wiz (Copy Cat)
  • Updated layout (documentation available on click)

0.1

  • Initial Release
  • Added localisation

Start using CSS Selector today

Click to add CSS Ready Classes, no class names to remember

Download for free
Proudly powered by WordPress