Last active
November 12, 2021 10:04
-
-
Save spivurno/0dfe3bc4bcdc4e96b975 to your computer and use it in GitHub Desktop.
Gravity Wiz // Gravity Forms // Style Number Fields like Total Field
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 Wiz // Gravity Forms // Style Number Fields like Total Field | |
* | |
* Use "gf_price" and "gf_total" CSS classes via the "CSS Class Name" setting to style your Number fields like a product | |
* price (red) or total (green). | |
*/ | |
.gform_wrapper .gf_price input[type=text], | |
.gform_wrapper .gf_price input[type=number] { | |
border: 0; | |
font-size: 1.2em; | |
color: #060; | |
text-indent: 0; | |
padding: 0; | |
} | |
.gform_wrapper .gf_total input[type=text], | |
.gform_wrapper .gf_total input[type=number] { | |
color: #060; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment