Please wrap the text inside the label into span tag
-
There’s a piece of code in this plugin:
<li data-aid="'. $answer->aid .'"> <label class="dem__'. $type .'_label"> <input class="dem__'. $type .'" '. $auto_vote .' type="'. $type .'" value="'. $answer->aid .'" name="answer_ids[]"'. $checked . $disabled .'><span class="dem__spot"></span> '. $answer->answer .' </label> </li>';
I would be grateful if you will wrap
$answer->answer
in the<span>
tag in the plugin update.
I would like to be able to style this text when the checkbox is selected.
Eg..dem-vote .dem__checkbox:checked + .dem__spot + span, .dem-vote .dem__radio:checked + .dem__spot + span { color: #fff; }
- The topic ‘Please wrap the text inside the label into span tag’ is closed to new replies.