Gravity Form CSS ready classes on Pro Not Working

Ready Classes in Gravity Forms do not work even when adding the code you supplied in previous threads

add_action('init', 'no_x_gravity_form_css', 9999999);
function no_x_gravity_form_css () {
wp_dequeue_style( 'x-gravity-forms' );
}

Hey There,

Thanks for writing in! Please update the code and use this:

add_action('wp_enqueue_scripts', 'no_x_gravity_form_css', 9999999);
function no_x_gravity_form_css () {
  wp_dequeue_style( 'x-gravity-forms' );
}

This code will dequeue or remove the gravity form styling in X and let the default Gravity styling to take effect.

Please let us know how it goes.

2 Likes

No change, style not loading any ready class css from gravity forms.

Actually this code did work, I had a line of CSS that was breaking the functionality for the left and right half ready classes. Thank you for your help!

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.