0
I’m trying to customize a checkbox contact form 7, wordpress, but I’m not getting it! He should stay like this:
And he’s like this:
The code in the contact form is this:
<label2 style="width:99%">Disciplina<br>[checkbox* disciplina class:disciplinaform "Biologia" "Física" "Matemática" "Química"]</label2>
This is the code I picked up by the browser in this area:
<label2 style="margin-top: 26px; margin-bottom:20px; display:inline-block">Disciplina<br><span class="wpcf7-form-control-wrap disciplina"><span class="wpcf7-form-control wpcf7-checkbox disciplina" id="disciplina"><span class="wpcf7-list-item first"><input type="checkbox" name="disciplina[]" value="Biologia"><span class="wpcf7-list-item-label">Biologia</span></span><span class="wpcf7-list-item"><input type="checkbox" name="disciplina[]" value="Física"><span class="wpcf7-list-item-label">Física</span></span><span class="wpcf7-list-item"><input type="checkbox" name="disciplina[]" value="Matemática"><span class="wpcf7-list-item-label">Matemática</span></span><span class="wpcf7-list-item last"><input type="checkbox" name="disciplina[]" value="Química"><span class="wpcf7-list-item-label">Química</span></span></span></span></label2>
I don’t know if it helps!!
The inline-block tip worked, they are now on the same line. But I haven’t been able to style the checkbox field yet, so that the square is as in the image, larger and with gray background.
– Alessandro Ramos
I added a possibility, but Appearance took the patterns from the checkbox?
– user68647