CSS not working | XM Community
Skip to main content
Hi all, I'm trying to configure my NPS question using a customized CSS found on the community here. The problem is that it is working only when I do the preview of the single NPS question, but when I do the full preview the CSS is no longer working. What am I doing wrong? Thanks in advance for the support. Antonio label#QID10-0-label.SingleAnswer{ color :red !Important; } label#QID10-1-label.SingleAnswer{ color :red !Important; } label#QID10-2-label.SingleAnswer{ color :red !Important; } label#QID10-3-label.SingleAnswer{ color :red !Important; } label#QID10-4-label.SingleAnswer{ color :red !Important; } label#QID10-5-label.SingleAnswer{ color :red !Important; } label#QID10-6-label.SingleAnswer{ color :red !Important; } label#QID10-7-label.SingleAnswer{ color : #f9d71c !Important; } label#QID10-8-label.SingleAnswer{ color : #f9d71c!Important; } label#QID10-9-label.SingleAnswer{ color :green !Important; } label#QID10-10-label.SingleAnswer{ color :green !Important; } label#QID10-0-label.SingleAnswer.q-checked { background-color :red !Important; color:white !Important; } label#QID10-1-label.SingleAnswer.q-checked { background-color :red !Important; color:white !Important; } label#QID10-2-label.SingleAnswer.q-checked { background-color :red !Important; color:white !Important; } label#QID10-3-label.SingleAnswer.q-checked { background-color :red !Important; color:white !Important; } label#QID10-4-label.SingleAnswer.q-checked { background-color :red !Important; color:white !Important; } label#QID10-5-label.SingleAnswer.q-checked { background-color :red !Important; color:white !Important; } label#QID10-6-label.SingleAnswer.q-checked { background-color :red !Important; color:white !Important; } label#QID10-7-label.SingleAnswer.q-checked { background-color : #f9d71c !Important; color:white !Important; } label#QID10-8-label.SingleAnswer.q-checked { background-color : #f9d71c !Important; color:white !Important; } label#QID10-9-label.SingleAnswer.q-checked { background-color :green !Important; color:white !Important; } label#QID10-10-label.SingleAnswer.q-checked { background-color :green !Important; color:white !Important; }
Be the first to reply!