Possible to style checked checkbox fields?
-
Hellos,
I can’t figure out how to style checked boxes with caldera due to the nature of the markup.. 99.9% of info I can find has the input outside of the label like<input type=”checkbox” id=”c1″ name=”cc” />
<label for=”c1″>Check Box 1</label>But caldera outputs the input inside the label eg.
<label for=”xxx”>
<input type=”checkbox” id=”xxx”>
the label text
</label>Making using something like input[type=checkbox]:checked + label {styles} rather hard.
There some workarounds but this requires the label text to at least have a span tag or something around it as far as I can tell.Is there some ninja way of doing this through CSS I haven’t managed to figure out yet ?
Thanks in advance!
- The topic ‘Possible to style checked checkbox fields?’ is closed to new replies.