It's just a ":" and nothing else. No span, no div, no classes. This makes it really difficult to style and fix issues with it.
I believe this should be easier than:
function mytheme_preprocess_webform_time(&$variables) {
$variables['element']['minute']['#prefix'] = '<span class="webform-time-separator">:</span>';
}
Comments
Comment #1
hass commentedComment #2
quicksketchThanks, good suggestion. Adding a span like your example looks perfect.
Comment #3
danchadwick commentedClosing for lack of activity and demand. Also, 7.x-3.x is receiving critical bug fixes only.
Comment #4
hass commentedI still need this and code has not committed as I know.
Comment #5
danchadwick commentedReopen with a patch for 7.x-4.x if you still would like this change.
Comment #6
hass commentedComment #7
danchadwick commentedUpon further reflection, webform doesn't need the markup bloat when there is so little demand for this and there is a theme workaround.