This topic contains 1 reply, has 2 voices, and was last updated by Avatar Anonymous 2 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #99428

    Hi guys, how can i hide the tick marks on the Slider that don’t have a label ? I want to see only the ticks with labels on the scale. Also i want to change the color of the tick marks. That would be great. Thanks !


    Hi hansT,

    • To show only the ticks with labels, please set ticks-visibility="major".
    • The color of tick marks can be set using the CSS variable --smart-tick-color, i.e.:
      <style type="text/css">
          smart-slider {
              --smart-tick-color: red;

    Best regards,

    Smart HTML Elements Team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.