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

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

  • October 16, 2018
  • 3 replies
  • 126 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.

Best answer by Anonymous

Hello @GradStudent4 , Paste the following code in the js(OnReady) of the "Slider" question: `jQuery("ul.labels").insertAfter("div.slider-container:last");`

3 replies

  • Answer
  • October 16, 2018
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?