mardi 5 septembre 2017

How to remove checkbox, and style label, when label tag wraps checkbox input

advanced beginner here so please be patient:)

I have had some luck removing checkboxes and styling their labels where the for="" attribute exists.

On one particular form I'm trying to style, the markup is quite different and the 'labels' are wrapping the input and there is no 'for' attribute.

The markup is thus..

<li id='tags-234'><label class="selectit"><input value="234" type="checkbox" name="tax_input[tags][]" id="in-tags-234" /> Tag 1</label></li>

Can anyone get me started? Do I need to add label tags, somehow, first?

All help greatly appreciated.




Aucun commentaire:

Enregistrer un commentaire