Check this url:
https://contactform7.com/custom-layout-for-checkboxes-and-radio-buttons/
I prefer a vertical alignment when using multiple checkboxes. That way you can have multiple lines of label text perfectly aligning on the right side of the checkbox. When you use inline or inline-block, its possible that they will align to the left (underneath) of the checkbox.
So the stylesheet should be:
span.wpcf7-list-item { display: table-row; }
span.wpcf7-list-item * { display: table-cell; }
But … this plugin (Mailpoet – Contact Form 7 Integration) does not have the same element structure (??) as cf7. So you have to do some custumizing yourself in your cf7-dashboard. I solved it like this: place your Mailpoet-Signup-form-tag inside a div and give it a class name (like ‘parentdiv’) and do not check the ‘label inside span’ in your Mailpoet-Signup-generator on your cf7-dashboard.
I added this to my stylesheet:
div.wpcf7 .parentdiv{
position: relative;
}
div.wpcf7 .parentdiv label{
margin-left:25px;
display:block;
}
div.wpcf7 .parentdiv span[class*="mailpoetsignup"]{
position:absolute;
left:0px;
top:0px;
}
Question for Jesse:
Why haven’t you programmed your plugin in the same element structure as cf7. So with the class ‘wpcf7-form-control’ as a parent span-element (not added to the checkbox) and ‘wpcf7-list-item’ as a child and ‘wpcf7-list-item-label’ as a span element (not as label element).
Thanx again Jesse, Martin ??