When using the Gravity Forms 2.5 Theme, the action filter to disable the default CSS doesn’t work. Luckily, the filter does work when using the recommended Orbital theme:
add_filter( 'gform_disable_css', '__return_true' );
I discovered this while working on a legacy WordPress site that uses the Classic Editor and troubleshooting why my styling wasn’t applying correctly.
My current version of Gravity Forms (2.9) includes a setting to called Output Default CSS which can be toggled on and off. Depending on the state of the Gravity Forms Plugin, this setting may have no effect. Unfortunately, there’s no indication or notification of this setting not working although it is mentioned in the docmentation.
Leave a Reply