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
body #gform_confirmation_message_FORMID { | |
background-color: #ccc !important; | |
width: 130px !important; | |
border-width: 1px !important; | |
border-style: solid !important; | |
} |
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
/** Hide Gravity Forms Field Labels */ | |
body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .gfield_label{ | |
display: none; | |
} | |
/** Hide Gravity Forms Field Sub Labels */ | |
body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .ginput_complex .ginput_full label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .ginput_complex .ginput_right label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .ginput_complex .ginput_left label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .name_first label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .name_prefix label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .name_middle label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .name_suffix label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .name_last label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .address_line_1 label, body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .addr |
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
/** border for form container */ | |
gform_wrapper_FORMID{ | |
border-width: 10px !important; | |
border-color: #bc1717 !important; | |
border-style: dashed !important; | |
border-radius: 6px !important; | |
} | |
/** border for form inputs */ | |
#gform_wrapper_FORMID input{ | |
border-width: 10px !important; |
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
body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .gfield_label { | |
font-family: "Times New Roman", Times, serif; | |
} |
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
.nf-field-element input::placeholder, | |
.nf-field-element input::-webkit-input-placeholder, | |
.nf-field-element input::-moz-placeholder, | |
.nf-field-element input:-ms-input-placeholder { | |
color: red; | |
font-size: 1.2em; | |
font-style: italic; | |
} |
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
.nf-form-cont .nf-form-title h3{ | |
color: #ff0000; | |
font-weight: bold; | |
text-align: left; | |
} |
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
/** | |
* Set minimum and maximum range for number field | |
* Apply the class "bfwpf-number-range-limit" to the field to enable. | |
* | |
* https://wpmonks.com/blog/how-to-min-max-range-for-number-fields-in-wpforms/ | |
*/ | |
function bfwpf_number_field_range_limit() { | |
?> | |
<script type="text/javascript"> |
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
/** | |
* Disable form fields to make read-only | |
* To apply, add CSS class 'wpmonks-readonly' (no quotes) to field in form builder | |
* | |
*/ | |
function wpmonks_disable_field() { | |
?> | |
<script type="text/javascript"> | |
jQuery(function($) { |
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
/* For labels */ | |
#wpforms-formID .wpforms-form .wpforms-field.wpforms-field-radio ul li label{ | |
font-size: 18px; | |
font-weight: 700; | |
line-height: 1.5; | |
} | |
/* For container */ | |
#wpforms-formID .wpforms-form .wpforms-field.wpforms-field-radio ul{ | |
background: #00ff00 !important; | |
border: 1px solid #bbefbb !important; |
NewerOlder