Anki Forums

Missing Cloze Color

I accidentally deleted the cloze color script. I inputted:

.cloze {
font-weight: bold;
color: teal;

.nightMode .cloze {
color: cyan;
background-color: black;

but the cloze color is still just white. Does anyone know how I can fix this?


Add !important to overwrite Anki default colors. And like this night_mode. It works for me.

.night_mode .cloze {
color: cyan!important;

It worked! thank you so much!