• How can I change the style of a selected checkbox or radio button?

    Tried:

    .wpcf7-list-item:checked+label {background-color:red;color:red;}
    .wpcf7-list-item input[type=”checkbox”]:checked+label {background-color:red;color:red;}
    input[type=”checkbox”]:checked+label {background-color:red;color:red;}

    Nothing seems to make any changes (did F5, CTRL+F5 and all that)

    Hope it can work!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • I believe the style of checkboxes and radio buttons is browser-specific. If you want to style it yourself, you will need to hide the default checkbox/button and create your own one in its place. Not exactly pleasant but possible.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Change style of selected list items (checkbox, radio button)’ is closed to new replies.