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

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

  • Oct 16, 2018 4:07 PM UTC
  • 3 replies
  • 160 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");`
View original

3 replies

  • Answer
  • Oct 16, 2018 5:32 PM UTC
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?