Answers with custom font colors aren't red when incorrect

Submitted by Skottify on August 23, 2025
I have a quiz that contains some answers with custom font colors. The answers whose font colors weren't changed (black/white) and were answered incorrectly appeared red in the quiz results as usual. However, the answers *with* custom font colors retained those colors in the quiz results, even if they were answered incorrectly. Is there a way to make it so that even answers with custom font colors will appear red in the quiz results?
6 Comments
+1
Level 83
Aug 23, 2025
Did you change the font colours with the quiz editor or with html css styling?
+1
Level 15
Aug 23, 2025
I used the html/css styling because a few answers have 2-3 lines of text, sometimes of different font colors. I didn't think I was able to specify different font colors to different sections of text with the editor alone.
+1
Level 83
Aug 23, 2025
In the design section of the quiz you can edit each cell’s styles. That’s probably the easiest and best way to change font colours and it work properly with JetPunk’s style changes when you get an answer correct. Otherwise you’d need to use the class JetPunk adds to correct text boxes and give them the correct colour change yourself.
+1
Level 15
Aug 25, 2025
Yeah, problem is that the individual cell styles affect each line of text. So if I have a cell that contains two lines of text, each intended to be different colors, the cell style would just affect both. What class are you referring to?
+1
Level 83
Aug 27, 2025
You should be able to check what classes you need by using the inspect tool on a text quiz. Right click a box in the table and select inspect to see its classes. Then answer it and look at the class change. I think it might be .text-correct or something? I’m not sure. You can check on a computer using the inspect tool.
+1
Level 15
Aug 28, 2025
Does this mean I'll have to import an SVG file or is there an easier way to do this?