Custom CSS styling for checkboxes and radio buttons
-
Hi,
your plugin works very great so far! Thank you very very much!!!
Now what I am trying to do is, customize the looks of the checkboxes and radio buttons.
For example like this:
https://experiments.wemakesites.net/custom-css3-checkboxes-and-radios.html
or
https://www.hongkiat.com/blog/css3-checkbox-radio/Now I have a problem:
The code google retrieves is something like this:<label><span class="ss-choice-item-control goog-inline-block"><input type="radio" name="entry.1269599175" value="test" id="group_1269599175_2" class="ss-q-radio"></span> <span class="ss-choice-label">test</span> </label>
this alters the css trick with input:checked+span:after … useless – since css can not select the next span class cause the other one closes.
do you have any idea how one can solve this? Anything else is easily changed, but with this issue I really have a problem.
Otherwise would you recommend switching to jquery ui elements to style the checkboxes? Seems to me rather overloaded
Thank you for your help
- The topic ‘Custom CSS styling for checkboxes and radio buttons’ is closed to new replies.