Is there a way to remove this grey background? | XM Community
Skip to main content
Question

Is there a way to remove this grey background?

  • May 9, 2022
  • 4 replies
  • 655 views

mirandabrown
Forum|alt.badge.img

Is there a way to remove this grey background? Potentially to make it all white? So the images don't stand out as much?

2022-05-09_14-18-56.png

4 replies

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • May 26, 2022

Hi there, the below CSS can change the background color of the answer options to white:
.Skin label.MultipleAnswer, .Skin label.SingleAnswer {
    background: #ffffff !important;
}


grahulp5
QPN Level 3 ●●●
Forum|alt.badge.img+13
  • QPN Level 3 ●●●
  • May 31, 2022

or maybe you can set it out to none, i.e. set background to none and it should work w/o any color.


Forum|alt.badge.img+1
  • July 6, 2022

Hi Tom_1842 , how should we adapt the code if we want to use it just for a specific question? Thanks!


Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • July 6, 2022

Hi silad , try adding the below to the question's JavaScript:
jQuery("#"+this.questionId+" .SingleAnswer").css("background","#ffffff");
jQuery("#"+this.questionId+" .MultipleAnswer").css("background","#ffffff");