Hi There,
It’s quite possible but there is an issue with it. This last block of CSS given on the tutorial will not work with Contact Form 7. Because in contact form 7 the label
is a parent of the input[type=checkbox]
, not a sibling. Meaning the circle will not turn to green when check.
/**
* Create the checked state
*/
.checkboxFour input[type=checkbox]:checked + label {
background: #26ca28;
}
To see what I mean, please update your HTML code to this:
<div class="checkboxFour">
[acceptance acceptance-861]By ticking this checkbox... <a href="#"><strong>GDPR & Privacy Policy</strong></a>[/acceptance]
</div>
And then add this CSS with the other custom CSS, this is to hide the actual checkbox.
.checkboxFour input[type=checkbox] {
opacity:0;
}
Regretfully, further customization from here is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself.
Thank you for your understanding.