Change the font color of slider labels | XM Community
Skip to main content
Solved

Change the font color of slider labels


Forum|alt.badge.img+2

Hello, I need to create a survey with blue background and white fonts. I was able to do that for most questions, but for a slider, I could not change the color of labels. Can someone help please? 

 

Example below. I need to change “never” “sometimes”, etc. into white. 

 

 

Best answer by Tom_1842

You could try adding the below CSS to the Style section of the survey’s Look & Feel:

.JFEScope .RTL .Skin .Slider .QuestionBody.q-slider ul li.first, .JFEScope .Skin .Slider .QuestionBody.q-slider ul li, .JFEScope .Skin .Slider .QuestionBody.q-slider ul li.first, .JFEScope .Skin .Slider .QuestionBody.q-slider ul li.last, .Skin .horizontalbar tr.xlabel th {
    color: #ffffff !important;
}

 

View original

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • July 5, 2023

You could try adding the below CSS to the Style section of the survey’s Look & Feel:

.JFEScope .RTL .Skin .Slider .QuestionBody.q-slider ul li.first, .JFEScope .Skin .Slider .QuestionBody.q-slider ul li, .JFEScope .Skin .Slider .QuestionBody.q-slider ul li.first, .JFEScope .Skin .Slider .QuestionBody.q-slider ul li.last, .Skin .horizontalbar tr.xlabel th {
    color: #ffffff !important;
}

 


Forum|alt.badge.img+2

It works! Thank you so much for your help @Tom_1842!! 


Leave a Reply