I know this is an old issue and has been answered many times but I can not figure out how to incorporate a fix base off of the other examples.
Ok after styling the checkbox, it looks good in Chrome and Opera (how it is supposed to look), but in Firefox and IE it still looks like the same ugly checkboxes. Is there a easy way to fix this so it looks the same across all browsers? If so could someone with a fresh view of my CSS please help me to fix this. I am using contact form 7 so the HTML is not changeable or I would change the HTML code myself and style according to other tutorials.
/*Below is for Radio Buttons*/
.wpcf7-form-control.wpcf7-radio input[type="radio" ] {
margin: 5px 20px 0px 3px;
border: 2px solid #35a4d5;
padding: 10px;
-webkit-appearance: none;
border-radius: 50%;
}
.wpcf7-list-item.first .wpcf7-list-item-label,.wpcf7-list-item.last .wpcf7-list-item-label {
font-size: 18px;
vertical-align: 5px;
}
.wpcf7-form-control.wpcf7-radio input[type="radio" ]:checked{
background:#555;
box-shadow: inset 0px 0px 0px 3px white;
-webkit-box-shadow: inset 0px 0px 0px 3px white;
-moz-box-shadow: inset 0px 0px 0px 3px white;
-o-box-shadow: inset 0px 0px 0px 3px white;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
-o-border-radius: 100%;
}
.wpcf7-form-control.wpcf7-radio input:focus{
outline:none;
}
/*END*/
/*Below is for Check Boxes*/
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox" ]{
margin: 5px 4px 0px 3px;
border: 2px solid #35a4d5;
padding: 10px;
-webkit-appearance: none;
}
.wpcf7-list-item.first.last .wpcf7-list-item-label{
font-size: 20px;
vertical-align: 5px;
}
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox" ]:checked{
background:#555;
box-shadow: inset 0px 0px 0px 3px white;
-webkit-box-shadow: inset 0px 0px 0px 3px white;
-moz-box-shadow: inset 0px 0px 0px 3px white;
-o-box-shadow: inset 0px 0px 0px 3px white;
}
.wpcf7-form-control.wpcf7-checkbox input:focus{
outline:none;
}
/*END*/
<span class="wpcf7-form-control-wrap RVCategory">
<span class="wpcf7-form-control wpcf7-radio">
<span class="wpcf7-list-item first">
<span class="wpcf7-list-item-label" style="">Motorhome
</span>
<input type="radio" name="RVCategory" value="Motorhome" checked="checked">
</span>
<span class="wpcf7-list-item last">
<span class="wpcf7-list-item-label">Trailer
</span>
<input type="radio" name="RVCategory" value="Trailer">
</span>
</span>
</span>
<p></p>
<span class="myCheckboxes">
<span class="wpcf7-form-control-wrap checkbox-112">
<span class="wpcf7-form-control wpcf7-checkbox">
<span class="wpcf7-list-item first last">
<input type="checkbox" name="checkbox-112[]" value="Electric Generator">
<span class="wpcf7-list-item-label">Electric Generator</span>
</span>
</span>
</span>
</span>