This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gform_heading, | |
.gform_body, | |
.gform_footer { | |
clear: both; | |
padding-bottom: 20px; | |
} | |
ul.gform_fields { | |
list-style: none; | |
margin: 0 -15px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this function disables GF CSS on theme activation | |
function gravity_css_off_theme_activate() { | |
update_option( 'rg_gforms_disable_css', '1' ); | |
update_option( 'rg_gforms_enable_html5', '1' ); | |
} | |
add_action('after_switch_theme','gravity_css_off_theme_activate'); | |
// this functiona disables GC CSS on the GF plugin activation | |
function gravityform_activate() { | |
update_option( 'rg_gforms_disable_css', '1' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////////////////////////// | |
////// GRAVITY FORMS RESET STYLES ////// | |
/////////////////////////////////////////////// | |
// These styles are made in mind to be used with SCSS or LESS | |
// If you use these styles, you must go to the Gravity Forms settings in the WordPress back end and set Output CSS to No. | |
////----- Core Containers | |
.gform_heading, | |
.gform_body, |