I want to change out the visual of the checked checkbox from blue background to match my theme. I cant seem to get it to show and have tried several options for the checked status. Any help for what selector to use on this would be very helpful.
Selectors that didn’t work out.
.wpcf7-list-item > label:after > input[type=checkbox]:checked + span {}
.wpcf7-form .wpcf7-checkbox input[type=checkbox]:checked + span:after {}
span.wpcf7-list-item.first > input[type=checkbox]:checked {}
input[type="checkbox"]:checked {}
2
Answers
Found out through the post from Victory Osiobe that you can use this to affect the contact form 7 checkboxes color when selected.
Confirmed working when inserted to Appearance>Additional CSS
I think you should visit: https://www.geeksforgeeks.org/how-to-style-a-checkbox-using-css/?
For changing the color of the checkbox
If what you find is too complex, you could simply use:
The input finds all the input tags, the stuff in the square brackets find the type. You know it could be type date, type color, type text…
Then the accent-color changes the color of the input of type checkbox.