Slider Handle Changes Color

4 posts, 0 answers
  1. Gil
    Gil avatar
    9 posts
    Member since:
    Jun 2016

    Posted 31 Aug Link to this post

    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?

  2. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 01 Sep Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
  4. Gil
    Gil avatar
    9 posts
    Member since:
    Jun 2016

    Posted 02 Sep in reply to Magdalena Link to this post

    Hello Magdalena,

    thank you for the hint. It solved the problem.

  5. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 06 Sep Link to this post

    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.
     
Back to Top
Kendo UI is VS 2017 Ready