# Change of slider style in Pavlovia

**URL:** <https://discourse.psychopy.org/t/change-of-slider-style-in-pavlovia/22727>\
**Category:** Online experiments\
**Tags:** pavlovia\
**Created:** [May 3, 2021, 5:09am UTC](https://discourse.psychopy.org/t/change-of-slider-style-in-pavlovia/22727 "2021-05-03T05:09:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [May 3, 2021, 6:25am UTC](https://discourse.psychopy.org/t/change-of-slider-style-in-pavlovia/22727/2 "2021-05-03T06:25:19Z")

</div>

I think this thread should help.

> [@Slider Coding Questions](https://discourse.psychopy.org/t/slider-coding-questions/9332/10):
>
> Weird, that worked for me. Have you also set the color and markersize at the beginning of the experiment? Here is a working version [https://run.pavlovia.org/dvbridges/sliderunits/html/](https://run.pavlovia.org/dvbridges/sliderunits/html/) . The code: # Begin Experiment col = new util.Color('green') markerSize = 35; # Each Frame try { if (slider.\_markerColor.int !== col.int) { slider.\_markerColor = col; slider.\_marker.lineStyle(1, col.int, 1, 0.5); slider.\_marker.beginFill(col.int, 1); // Triangle Marke…

---

_[View the full topic](https://discourse.psychopy.org/t/change-of-slider-style-in-pavlovia/22727)._
