diff --git a/CHANGELOG.md b/CHANGELOG.md index 67534d6..ef849ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ * **New** - Gravity Forms phone number validation * **Tweak** - Update Bootstrap Datepicker to 1.9.0 +* **Tweak** - Gravity Forms better styling of validations errors ### 0.7.8: June 14th, 2021 * **Tweak** - Better Gravity Forms compatibility with bootstrap-datepicker diff --git a/inc/plugins/gravityforms.php b/inc/plugins/gravityforms.php index 835e371..586edde 100644 --- a/inc/plugins/gravityforms.php +++ b/inc/plugins/gravityforms.php @@ -121,7 +121,7 @@ function stormbringer_gform_field_content($content, $field, $value, $lead_id, $f $content = str_replace('gfield_checkbox', 'gfield_checkbox', $content); $content = str_replace('gfield_radio', 'gfield_radio', $content); $content = str_replace('gfield_error', 'gfield_error has-error', $content); - $content = str_replace('validation_message', 'help-inline', $content); + $content = str_replace('validation_message', 'help-block', $content); $content = str_replace('ginput_container', 'form-input ginput_container', $content); $content = str_replace('small', 'form-control input-sm', $content); $content = str_replace('medium', 'form-control input-md', $content);