Target a specific question with CSS (change CSS of one question) | XM Community
Skip to main content
Solved

Target a specific question with CSS (change CSS of one question)


Forum|alt.badge.img
I want to change the button color of one question, but I keep having issues. The skin I want on a single question seems to be applied to more than the one and once it was all questions on the page besides the one I wanted. Below is the code I used. I used #ffffff to easily check if it worked

QID144 .Skin label.MultipleAnswer,.Skin label.SingleAnswer

{ background:#ffffff; border-color: #ffffff; border-width:2px; color: #ffffff; font-weight: Bold; }

Best answer by rondev

Try using below CSS: .Skin #QID144 label.MultiAnswer, .Skin #QID144 label.SingleAnswer { background:#ffffff; border-color: #ffffff; border-width:2px; color: #ffffff; font-weight: Bold; }
View original

3 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • Answer
  • June 18, 2019
Try using below CSS: .Skin #QID144 label.MultiAnswer, .Skin #QID144 label.SingleAnswer { background:#ffffff; border-color: #ffffff; border-width:2px; color: #ffffff; font-weight: Bold; }

  • 10 replies
  • May 26, 2020

Can someone tell me WHERE this gets added?


rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • May 26, 2020

In the custom CSS shown here


Leave a Reply