Title: GravityWP &#8211; CSS Selector
Author: GravityWP
Published: <strong>June 10, 2017</strong>
Last modified: October 8, 2026

---

Search plugins

![](https://ps.w.org/gravitywp-css-selector/assets/banner-772x250.jpg?rev=3215192)

![](https://ps.w.org/gravitywp-css-selector/assets/icon-256x256.jpg?rev=3215192)

# GravityWP – CSS Selector

 By [GravityWP](https://profiles.wordpress.org/gravitywp/)

[Download](https://downloads.wordpress.org/plugin/gravitywp-css-selector.1.1.1.zip)

 * [Details](https://mfe.wordpress.org/plugins/gravitywp-css-selector/#description)
 * [Reviews](https://mfe.wordpress.org/plugins/gravitywp-css-selector/#reviews)
 *  [Installation](https://mfe.wordpress.org/plugins/gravitywp-css-selector/#installation)
 * [Development](https://mfe.wordpress.org/plugins/gravitywp-css-selector/#developers)

 [Support](https://wordpress.org/support/plugin/gravitywp-css-selector/)

## Description

> This plugin is an add-on for the amazing Gravity Forms Plugin.
>  Special thanks
> to [Brad Vincent](https://profiles.wordpress.org/bradvin/) and [Bryan Willis](https://github.com/bryanwillis)
> for developing the first and revised version of this plugin.

Quickly select custom and add-on CSS classes for your Gravity Forms fields. Open
the picker next to the CSS Class field to add your own custom classes, Gravity PDF
shortcuts, or the Gravity Wiz Copy Cat shortcut without remembering each class name.

Manage reusable class names, labels, descriptions and groups under Forms > Settings
> CSS Selector without writing PHP. These are shortcuts for existing CSS rules; 
the library does not generate styles. Removing a library shortcut does not change
saved fields.

The picker also lists classes used on other fields in the current form, including
unsaved editor changes. Counts and tooltips show which fields use each class. Legacy
Ready Classes are marked when shown, including classes reused from other fields.

CSS Ready Classes are legacy functionality. On Gravity Forms versions earlier than
3.0, the picker retains the applicable legacy shortcuts. On Gravity Forms 3.0 and
later, built-in Ready Classes are hidden. Use native Choice Layout settings for 
radio button and checkbox layouts instead of the old choice layout shortcuts, and
the native editor for field columns.

Existing saved classes are preserved. This update does not automatically remove 
or rewrite classes on your fields.

CSS Selector remains free and available for existing and new users. Development 
focuses on compatibility and maintenance, not expanding the legacy class catalogue.

#### Features

 * Convenient button next to the CSS Class field in the form editor
 * Small picker for custom and add-on CSS classes
 * No-code, plugin-level class library with labels, descriptions and groups
 * Reuse classes from other fields, with usage counts and field tooltips
 * Legacy badges on Ready Classes
 * Gravity PDF shortcuts: exclude a field or start a new PDF page
 * Gravity Wiz Copy Cat shortcut: copy Field ID 1 to Field ID 2 (requires Copy Cat;
   adjust IDs as needed)
 * Add more than one CSS class
 * Double-click a CSS class to add it and auto-close the popup
 * Add your own custom class buttons with the existing filter
 * Legacy Ready Classes available only on Gravity Forms versions earlier than 3.0

### About GravityWP

GravityWP is a third party that develops high-quality addons for Gravity Forms. 
We provide additional tools that can be used to build full-blown web applications.

 * [Advanced Merge Tags](https://gravitywp.com/add-on/advanced-merge-tags/): Enhance
   your form customization with powerful merge tag modifiers, enabling functions
   like date adjustments, character and word counts, URL encoding, and retrieving
   data from other forms or sources.
 * [JWT Prefill](https://gravitywp.com/add-on/jwt-prefill/): Securely populate form
   fields using JSON Web Tokens, ensuring data integrity and streamlining user experience.
 * [Advanced Number Field](https://gravitywp.com/add-on/advanced-number-field/):
   Enhance number fields with features like custom units, fixed decimal places, 
   sliders, and calculated min/max validation rules.
 * [List Number Format](https://gravitywp.com/add-on/list-number-format/): Transform
   list field columns into numeric formats, supporting calculations such as totals,
   or other row and column-based computations, with options for rounding, currency,
   and range constraints.
 * [List Dropdown](https://gravitywp.com/add-on/list-dropdown/): Convert specific
   list field columns into dropdown select inputs.
 * [List Datepicker](https://gravitywp.com/add-on/list-datepicker/): Add calendar-
   based datepickers to list fields, allowing users to select dates directly within
   list columns.
 * [List Text](https://gravitywp.com/add-on/list-text/): Enhance list columns with
   features like placeholders, textareas, and custom validation.
 * [Field to Entries](https://gravitywp.com/add-on/field-to-entries/): Automatically
   generate new form entries based on checkbox selections, multi-select choices,
   or list row data.
 * [Update Multiple Entries](https://gravitywp.com/add-on/update-multiple-entries/):
   Enable bulk updates of large amounts of existing entries in target forms through
   trigger forms, streamlining data management.
 * And more…

Discover our suite of powerful [Add-ons for Gravity Forms](https://gravitywp.com/add-ons/).

## Screenshots

[⌊The button that gets added in the advanced tab⌉⌊The button that gets added in 
the advanced tab⌉[

The button that gets added in the advanced tab

[⌊The pop-up modal that is displayed⌉⌊The pop-up modal that is displayed⌉[

The pop-up modal that is displayed

[⌊Add custom css⌉⌊Add custom css⌉[

Add custom css

## Installation

 1. Upload the plugin folder to your `/wp-content/plugins/` folder
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Make sure you also have Gravity Forms activated.

## FAQ

### Does this plugin rely on anything?

Yes, you need to install the [Gravity Forms Plugin](http://www.gravityforms.com/)
for this plugin to work. And it needs to be at least v1.5.

### Why are Ready Classes missing on Gravity Forms 3.0 and later?

Ready Classes are legacy functionality and are no longer offered in the modern picker.
Use native Choice Layout settings for choice layouts. Custom class buttons, Gravity
PDF and Copy Cat shortcuts remain available, and existing saved classes are not 
removed.

### How to add custom CSS buttons?

You can add your own CSS to the CSS Selector easily in your functions.php file. 
Just add the following example code there. It adds quick buttons and an accordion
on top of the modal. That way you can put easily your own CSS in the layout you 
want.

    ```
    // Add custom css: quick buttons and accordion at the top of the GravityWP - CSS Selector modal
    function my_custom_gwp_css_selector_add_css() {
        $html .= "<div class='gwp_quick_links'>
        <a class='gwp_css_link' href='#' rel='your_custom_css_class' title='Adds your_custom_css_class to the CSS field'>Custom css</a>
        <a class='gwp_css_link' href='#' rel='your_custom_css_class_2' title='Adds your_custom_css_class_2 to the CSS field'>2nd custom css</a></div>
        <li>
        <a class='gwp_css_acc_link' href='#'>Custom CSS</a>
        <div class='gwp_css_accordian'>
        <a class='gwp_css_link' href='#' rel='your_custom_css_class' title='Adds your_custom_css_class to the CSS field'>Custom css</a>
        <a class='gwp_css_link' href='#' rel='your_custom_css_class_2' title='Adds your_custom_css_class_2 to the CSS field'>2nd custom css</a>
        </div>
        </li>";
        return $html;
    }
    add_filter( 'gwp_css_selector_add_custom_css', 'my_custom_gwp_css_selector_add_css' );
    ```

## Reviews

![](https://secure.gravatar.com/avatar/f84b0534ed86fd97443160ffb9345f1f4d750bbedc71e7c4055e937723891856?
s=60&d=retro&r=g)

### 󠀁[time saver](https://wordpress.org/support/topic/time-saver-241/)󠁿

 [guillermodewey](https://profiles.wordpress.org/guillermodewey/) October 7, 2019
1 reply

I've check out css name documentation for gravity like a million times to make columns
until I came across this plugin.. thanks for making it available. it does what it
should. would be nice to have the actual field value delete when selecred other 
option.

![](https://secure.gravatar.com/avatar/66d32d57aa68f118e4747d87c70763de421f34b6138f9468f72ee0f8bd12d8fb?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-21135/)󠁿

 [swiftblack](https://profiles.wordpress.org/swiftblack/) March 12, 2019 1 reply

Does the job exactly how you want.. wish I could drop 10 points here

![](https://secure.gravatar.com/avatar/76db85864b90cd3f44d668ac555adf0e7d57854834603ff3e4fb13b70a5446d8?
s=60&d=retro&r=g)

### 󠀁[lovely plugin!](https://wordpress.org/support/topic/lovely-plugin-28/)󠁿

 [ordrori](https://profiles.wordpress.org/ordrori/) September 3, 2018

thank you!

![](https://secure.gravatar.com/avatar/f27897a74d2cc9a42245c56d5e3172dc5da7c32c0a2760ed4a213702b5f5f3bc?
s=60&d=retro&r=g)

### 󠀁[Nice, Easy, Really Helpful](https://wordpress.org/support/topic/nice-easy-really-helpful/)󠁿

 [netart.gr](https://profiles.wordpress.org/geokantze/) July 13, 2018

It adds an easy button that help us create columns in gravity forms. Thank you!

![](https://secure.gravatar.com/avatar/85e0036c0c67ca42d681ea616f8392079347bb7d4c92c0b4c1d27068351203e8?
s=60&d=retro&r=g)

### 󠀁[Great Plugin and very much needed](https://wordpress.org/support/topic/great-plugin-and-very-much-needed/)󠁿

 [bruno05](https://profiles.wordpress.org/bruno05/) February 19, 2018

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. Now if only
you can create a styling plugin for Gravity forms. Gravity forms is great but ugly
and does not have multi column support, but you have done a great job with this.

![](https://secure.gravatar.com/avatar/dac8c04ec7aa1b5cbd5c6789f0c096006986c4f88b977fb178192b9c052a82df?
s=60&d=retro&r=g)

### 󠀁[Useful little plugin](https://wordpress.org/support/topic/useful-little-plugin-5/)󠁿

 [abiruth](https://profiles.wordpress.org/abiruth1980/) October 6, 2017

Handy little plugin as I always forget the selectors. Many thanks

 [ Read all 9 reviews ](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/)

## Contributors & Developers

“GravityWP – CSS Selector” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ GravityWP ](https://profiles.wordpress.org/gravitywp/)

“GravityWP – CSS Selector” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/gravitywp-css-selector/contributors)
for their contributions.

[Translate “GravityWP – CSS Selector” into your language.](https://translate.wordpress.org/projects/wp-plugins/gravitywp-css-selector)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/gravitywp-css-selector/),
check out the [SVN repository](https://plugins.svn.wordpress.org/gravitywp-css-selector/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/gravitywp-css-selector/)
by [RSS](https://plugins.trac.wordpress.org/log/gravitywp-css-selector/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1

 * Add a no-code class library under Forms > Settings > CSS Selector.
 * Show classes used on other fields in the selector, including unsaved edits, with
   usage counts and field tooltips.
 * Mark legacy Ready Classes without removing or rewriting saved classes.
 * Safely encode picker markup for JavaScript, including custom filter output.
 * GF 3.0+ compatibility: Restore editor hook registration when Gravity Forms exposes
   GFForms without the legacy RGForms class.
 * Hide legacy CSS Ready Classes in the picker on Gravity Forms 3.0 and later.
 * Keep custom classes, Gravity PDF and Copy Cat shortcuts available.
 * Preserve existing saved field classes without automatic removal.
 * Update picker wording and document native Choice Layout as the replacement for
   legacy choice layout shortcuts.

#### 1.1

 * Added pot files for translations
 * Updated Dutch translation.

#### 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://gravitywp.com/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

## Meta

 *  Version **1.1.1**
 *  Last updated **17 hours ago**
 *  Active installations **4,000+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **7.1.3**
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/gravitywp-css-selector/) and [English (US)](https://wordpress.org/plugins/gravitywp-css-selector/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/gravitywp-css-selector)
 * Tags
 * [css classes](https://mfe.wordpress.org/plugins/tags/css-classes/)[form](https://mfe.wordpress.org/plugins/tags/form/)
   [forms](https://mfe.wordpress.org/plugins/tags/forms/)[gravity form](https://mfe.wordpress.org/plugins/tags/gravity-form/)
   [gravity forms](https://mfe.wordpress.org/plugins/tags/gravity-forms/)
 *  [Advanced View](https://mfe.wordpress.org/plugins/gravitywp-css-selector/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gravitywp-css-selector/reviews/)

## Contributors

 *   [ GravityWP ](https://profiles.wordpress.org/gravitywp/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/gravitywp-css-selector/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://gravitywp.com/support/)