I have css to avoid the grey background in multiple answers, but the questions go back to white color when you select another option instead of keep the color.
I'd like the selected answers to keep the higlighted color.
This is my CSS so far:
.Skin label.MultipleAnswer {
color: #000000 !important;
border-style: solid !important;
border-width: 2px !important;
border-color: #000000 !important;
background-color: #ffff !important;
}
/*change colors of selected answer choices*/
.Skin label.MultipleAnswer.q-checked.q-focused {
color: #ffffff !important;
border-style: solid !important;
border-width: 2px !important;
border-color: #663399 !important;
background-color: #663399 !important;
}
background color in multiple answer question
Best answer by Tom_1842
Hi there, right now the code is only keeping the background purple while the selected item is focused, so right on selection. When it is not focused, it reverts to the white background. To keep the background purple when not focused, adding some CSS without the focused bit should work:
.Skin label.MultipleAnswer {
color: #000000 !important;
border-style: solid !important;
border-width: 2px !important;
border-color: #000000 !important;
background-color: #ffff !important;
}
.Skin label.MultipleAnswer.q-checked {
color: #ffffff !important;
border-style: solid !important;
border-width: 2px !important;
border-color: #663399 !important;
background-color: #663399 !important;
}
.Skin label.MultipleAnswer.q-checked.q-focused {
color: #ffffff !important;
border-style: solid !important;
border-width: 2px !important;
border-color: #663399 !important;
background-color: #663399 !important;
}
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
