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?

Thanks!!

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

.night_mode .cloze {
color: cyan!important;
}
2 Likes

It worked! thank you so much!