Not able to style checkbox options when using “use_label_element”
-
For the sake of Google Page Speed Insights, we want to add labels to the checkboxes by using the use_label_element tag.
However, when using the use_label_element tag, it is no longer possible to style the checkboxes.
See below code, with and without use-label-element tag.This form element can be styled with css classes:
Materiaal* [checkbox* materiaal "staal, ijzer" "RVS/INOX, roestvaststaal, roestvrijstaal" "koper, messing, brons" "zamak" "aluminium" "metaal-soort is onbekend"]
This form element CANNOT be styled with css classes:
Materiaal* [checkbox* materiaal use_label_element "staal, ijzer" "RVS/INOX, roestvaststaal, roestvrijstaal" "koper, messing, brons" "zamak" "aluminium" "metaal-soort is onbekend"]
Is this a known issue of using the use_label_element or is there is simple work around?
Thanks a lot in advance for thinking with me.The page I need help with: [log in to see the link]
- The topic ‘Not able to style checkbox options when using “use_label_element”’ is closed to new replies.