Last active
August 16, 2016 23:51
-
-
Save skyshab/3b6b9f42391ea8d43f39a8a2c88db402 to your computer and use it in GitHub Desktop.
Replace #my-form-id with the unique id of your form
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
#my-form-id input[type=radio] { | |
position: absolute; | |
opacity: 0; | |
cursor: pointer; | |
} | |
#my-form-id input[type=radio] + .wpcf7-list-item-label:before { | |
content: "V"; | |
display: inline-block; | |
padding-right: 5px; | |
font-family: 'ETmodules'; | |
line-height: 1em; | |
vertical-align: middle; | |
} | |
#my-form-id input[type=radio]:checked + .wpcf7-list-item-label:before { | |
content: "Z"; | |
} | |
/* label color when checked */ | |
#my-form-id input[type=radio]:checked + .wpcf7-list-item-label { | |
color: green; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment