Style checkbox with different border
-
Hello, I am trying to add a black 2px solid border to the checkboxes but seems an impossible task.
I tried with the following code, the width and height does change but the border remains same.
div.wpforms-container-full .wpforms-form .select input[type=checkbox], div.wpforms-container-full .wpforms-form .select input[type=radio] { width: 15px; height: 15px; border: 2px solid #000000; }
As I was searching for a solution came across the following code which I added but still does not work:
.wpforms-container input[type=radio] { -webkit-appearance: radio !important; -moz-appearance: radio !important; appearance: radio !important; } .wpforms-container input[type=checkbox] { -webkit-appearance: checkbox !important; -moz-appearance: checkbox !important; appearance: checkbox !important; }
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Style checkbox with different border’ is closed to new replies.