# Adjusting size of track and knob on slider control

**URL:** <https://discourse.nodered.org/t/adjusting-size-of-track-and-knob-on-slider-control/55799>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [28 December 2021 16:15 UTC](https://discourse.nodered.org/t/adjusting-size-of-track-and-knob-on-slider-control/55799 "2021-12-28T16:15:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jdo300](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jdo300/32/79415_2.png) [@Jdo300](https://discourse.nodered.org/u/Jdo300)\
**Post date:** [28 December 2021 16:15 UTC](https://discourse.nodered.org/t/adjusting-size-of-track-and-knob-on-slider-control/55799/1 "2021-12-28T16:15:21Z")

</div>

I'm working on adjusting the styles for the standard UI-slider control on my dashboard. I don't need to change the look of the graphics themselves but I just want to make the knob itself larger so it's easier to touch on a larger screen. So far, I found the following CSS that seems to control the knob size.

```auto
    /* --- Size Adjustments for Slider controls --- */
    .md-slider .md-thumb {
        width: 40px !important;   
        height: 40px !important;
    }
    
    .md-slider[md-vertical] .md-thumb-container .md-thumb:after {
        left: -9px !important;
    }
    
    .md-slider .md-focus-ring {
        width: 40px !important;   
        height: 40px !important;
    }

```

I modified the left, with, and height parameters as a test from within chrome to see which ones made the knob larger, but when applying the above code to a template node in the header of the dashboard, it doesn't appear to do anything. Am I using the wrong selectors? I basically want to enlarge the knob diameter and also make the track just a bit wider.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 January 2022 16:15 UTC](https://discourse.nodered.org/t/adjusting-size-of-track-and-knob-on-slider-control/55799/2 "2022-01-27T16:15:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
