Target a specific question with CSS (change CSS of one question) | XM Community
Solved

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

  • 17 June 2019
  • 3 replies
  • 236 views

Badge
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;
}
icon

Best answer by rondev 18 June 2019, 17:39

View original

3 replies

Userlevel 7
Badge +22
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;
}

Can someone tell me WHERE this gets added?

Userlevel 7
Badge +22

In the custom CSS shown here

Leave a Reply