A way to change the position of the labels in a slider question? | XM Community
Solved

A way to change the position of the labels in a slider question?

  • 16 October 2018
  • 3 replies
  • 69 views

Hello!
Is there a way to change the position of the labels in a slider question? I would like to change the labels to appear below the actual slider instead of the default way which is above the slider.
icon

Best answer by Anonymous 16 October 2018, 19:32

View original

3 replies

Hello @GradStudent4 ,

Paste the following code in the js(OnReady) of the "Slider" question:

`jQuery("ul.labels").insertAfter("div.slider-container:last");`
Thank you so much!! That worked!
I have a slider question that has 22 items. Is there a way to have the 2 labels "bookend" each item on the left and right as anchor text for each item?

Leave a Reply