I can see a colour attribute, e.g. "orange" goes into the HTML, but the slider remains grey.

Comments

RdeBoer’s picture

... however colours do show in the demo form at examples/sliderfield/custom_form.

sinasalek’s picture

Status: Active » Postponed (maintainer needs more info)

This is browser/theme related issue, the order of the styles in page matters.
Try other themes other than the one you're using

drupal_simply_amazing’s picture

In the field setting you should change the range to minimum or maximum value.

GuyPaddock’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Active

I'm seeing the same issue, using Bartik. The CSS class is applied but has no effect.

GuyPaddock’s picture

Okay, it looks like the CSS only changes the colors of the border around the drag handle and the "range", which is the span between the min and max handles. If the control is not ranged (i.e. only a single drag handle), there's no range to style so it looks like the color has no effect.

Based on the screenshots of the module in action, I'd expect that there would be a range from 0 to the drag handle at least, but it doesn't appear one gets created in the latest version.

Leaving this active for now because this seems like a feature that got lost somehow.