This is a migrated thread and some comments may be shown as answers.

Slider Handle Changes Color

3 Answers 259 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Gil
Top achievements
Rank 1
Gil asked on 31 Aug 2016, 07:45 AM

I tried to change the slider's drag handle with the following CSS entry - as it was proposed in the forum:

    .k-slider .k-draghandle {
        background-color: rgb(242, 179, 0);
        width: 20px;
        height: 20px;
        top: -8px;
        left: -8px;
    }
The color is changed indeed. But when I start to drag it turns white.

Is there a way to avoid this?

3 Answers, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 01 Sep 2016, 09:03 AM
Hello Gil,

The following CSS will customize the slider's drag handle in its selected state:
.k-slider .k-draghandle.k-state-selected {
  background: green;
}


Regards,
Magdalena
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Gil
Top achievements
Rank 1
answered on 02 Sep 2016, 10:58 AM

Hello Magdalena,

thank you for the hint. It solved the problem.

0
Magdalena
Telerik team
answered on 06 Sep 2016, 06:22 AM
Hello Gil,

We are glad that the solution resolved the issue. Do not hesitate to contact us if you have other questions.

Regards,
Magdalena
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Slider
Asked by
Gil
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Gil
Top achievements
Rank 1
Share this question
or