Hi @danihu,
Thanks for writing in!
You will need to add some custom CSS on your site to do that. Please try this code:
div.wpforms-container-full .wpforms-form .wpforms-list-3-columns ul li {
width: 30% !important;
}
Please feel free to change the value of the width in the code above.
And in case it helps, here’s a tutorial from WPBeginner on how to add custom CSS like this to your site.
Hope this helps!
Thread Starter
danihu
(@danihu)
Hi Jade. This was not what I am looking for. Is it possible to define each of the three columns by different values, e.g. 45% 30% 25%? Thank you again.
Hello @danihu,
Thanks for clarifying.
To do that, please add the class customized-three-columns to your checkbox field then add this CSS code on your site:
div.wpforms-container-full .wpforms-form .wpforms-field-checkbox.customized-three-columns ul li {
display: inline-block;
margin: 0 !important;
}
div.wpforms-container-full .wpforms-form .wpforms-field-checkbox.customized-three-columns ul li:nth-child(3n+1) {
width: 45%;
}
div.wpforms-container-full .wpforms-form .wpforms-field-checkbox.customized-three-columns ul li:nth-child(3n+2) {
width: 30%;
}
div.wpforms-container-full .wpforms-form .wpforms-field-checkbox.customized-three-columns ul li:nth-child(3n+3) {
width: 25%;
}
I hope this helps!