Styling/Theme/CSS Filters
Articles
gform_default_styles
The gform_default_styles filter can be used to filter the global form theme styles.
gform_disable_css
The filter gform_disable_css can be used to disable all CSS files from being loaded on the Front End.
gform_disable_form_legacy_css
The gform_disable_form_legacy_css filter allows the CSS to be disabled for forms using the legacy markup, usually forms created with Gravity Forms 2.4 and earlier.
gform_disable_form_theme_css
The gform_disable_form_theme_css filter allows the default form theme used by forms created with Gravity Forms 2.5 and greater to be disabled.
gform_field_css_class
This filter can be used to dynamically add/remove CSS classes to a field.
gform_form_theme_slug
The gform_form_theme_slug filter can be used to filter the form theme.
gform_noconflict_styles
Use this filter to “register” your css file with Gravity Forms, making sure it gets enqueued in the form editor page when no-conflict mode is enabled.
gform_preview_styles
Use this filter to specify styles to be enqueued on Gravity Forms preview pages.
gform_print_styles
Use this filter to add custom stylesheets to the print entry screen.