How to keep text boxes their custom colors after being answered?

Submitted by Cypress981 on April 15, 2026
I designed a quiz earlier, Constellations A-Z , to have all blue colored boxes. The problem, however, is that upon filling in an answer, like Aquila or Pisces, the corresponding box turns back to the default white and green. I would like to know if there is a way to keep the answer boxes in the configuration I have them set for.
7 Comments
+1
Level 73
Apr 15, 2026
Could you collaborate the quiz with me please?

Be warned though, this may make readability of the answers a touch worse.

+1
Level 58
Apr 15, 2026
I collaborated it to you
+3
Level 73
Apr 15, 2026
If anyone is wondering this is the code I implemented:

< style >

.text-game-content #grid .block .gx2 { background-color: #151E3D!important;}

.game-group .correct {color: #ffffff !important;}

.dark-mode.game-group .correct {color: #ffffff !important;}

.game-group .incorrect {color: #e44 !important;}

< /style >

+1
Level 72
Apr 15, 2026
I don't think this is possible. Maybe with some code but not through the quiz directly.
+3
Level 82
Apr 15, 2026
add this to the quiz description

td.answer-XXXXXXX.correct {

background-color: #YYYYYY !important;

}

where XXXXXXX is the answer id and YYYYY the color of the box you want to keep

I have used this in one of my quizzes

+1
Level 61
Apr 17, 2026
Pretty sure there's a way to target any ID starting with 'answer'. Will have to look that up though
+1
Level 39
Apr 15, 2026
Just use css in step 2 on the answer column to change the text color for the background color edit the css in the description