Contact Form 7 – Give each checkbox a class?

Picture of html to help explain

I’m using Contact Form 7 and have a group of checkboxes in my form.
I want to give each checkbox a class.
CF7 lets us add a class, but this only applies to the parent object.
I want my custom class on the inner divs.

I want to add a custom class because I am using Bootstrap 4, and I want to have 3 checkboxes per row (for example), by giving the class ‘col-4’.

Am I missing something?
Will I need to use javascript?

Read more here:: Contact Form 7 – Give each checkbox a class?

Leave a Reply

Your email address will not be published. Required fields are marked *