I'm looking to customize the appearance of my radio buttons within a WP plugin ContactForm7. I found some CSS code on this website: Source CSS code
My goal is to change the color of the radio button to green when it's clicked or checked:
.wpcf7 .wpcf7-list-item:checked .wpcf7-list-item-label:before{
content:'\2714';
text-indent: .9em;
color: #9CE2AE;
background-color: #4DCB6D;
}
Which selectors should I use for this? How do I go about implementing it?
Just a note: When I replaced 'checked' with 'active', the button momentarily turns green when I click it...
I could really use some guidance here. Thanks in advance!