Hi!
Does anyone know how to fix this? My cards are not visible (picture attached). If I click show answer I can see the answer. I’ve tried disabling add ons and resetting anki / my laptop.
Your templates are either missing fields or are configured to hide those fields (e.g. with CSS).
You can post your template code here in code blocks like this (very important, else this site eats formatting):
```
Code goes here
```
You’d have 3 code blocks: one for the front, one for the back, one for the CSS. We can then help you if you need more assistance.
Also see:
I’ve uploaded more screenshots of my cards. I didn’t make any changes, and they were working perfectly fine, but suddenly, all I see are blank cards. My cards are “type in the answer”.
Are you sure? That is a Cloze note type, and it would never have worked the way it is written. See the instructions for adding type-answer to cloze – Field Replacements - Anki Manual . You need to make changes to both the front and back templates [You didn’t post them as text, so we can’t help you edit them.]
Yeah, I’m not sure what happened. I did what you suggested → added {{type:cloze:Text}}, but it’s not like it was before (I have attached a picture of how it looked before). Previously, I could type the answer where the “[…]” dots are (not below), and as I typed, the box would turn yellow if I was writing the correct answer or red if I was wrong.
Now:
Before:
Current Code:
front:
{{cloze:Text}}
{{type:cloze:Text}}
back:
styling:
@import url("_e
Preformatted text`ditor_button_styles.css");
html { overflow: scroll; overflow-x: hidden; }
/* CONTAINER FOR YOUR CARDS /
#kard {
padding: 0px 0px;
max-width: 700px; / CHANGE CARD SIZE HERE /
margin: 0 auto; / CENTERS THE CARD IN THE MIDDLE OF THE WINDOW /
word-wrap: break-word; / BREAKS UP LONG WORKS */
}
/* APPLIES TO THE WHOLE CARD /
.card {
font-family: Menlo, baskerville, sans;
font-size: 18px; / FONT SIZE /
text-align: center; / ALIGN TEXT /
color: #D7DEE9; / FONT COLOR /
line-height: 1.6em;
background-color: #333B45; / BACKGROUND COLOR /
}
/ STYLE FOR CLOZE DELETIONS */
.cloze, .cloze b, .cloze u, .cloze i { font-weight: bold; color: #00F6D1 !important;}
/* STYLE FOR EXTRA PORTION ON BACK OF CARD */
#extra, #extra i { font-size: 15px; color:#D7DEE9; font-style: Timesnewroman; }
/* STYLE TAGS TO APPEAR WHEN HOVERING OVER TOP OF CARD */
.tags {
color: #A6ABB9;
opacity: 0;
font-size: 10px;
width: 100%;
text-align: center;
text-transform: uppercase;
position: fixed;
padding: 0;
top:0;
right: 0;}
.tags:hover { opacity: 1; position: fixed;}
/* IMAGE STYLE */
img { display: block; max-width: 100%; max-height: none; margin-left: auto; margin: 10px auto 10px auto;}
img:active { width: 100%; }
tr {font-size: 12px; }
/* COLOR ACCENTS FOR BOLD-ITALICS-UNDERLINE /
b { color: #ffc9ff !important; } / BOLD STYLE /
u { text-decoration: none; color: #7EF7F1;} / UNDERLINE STYLE /
i { color: lightsalmon; } / ITALICS STYLE /
a { color: LightGray !important; text-decoration: none; font-size: 10px; font-style: normal; } / LINK STYLE */
/* ADJUSTMENT FOR MOBILE DEVICES */
.mobile .card { color: #D7DEE9; background-color: #333B45; }
.mobile .tags:hover { opacity: 1; position: relative;}
.mobile .card img:active { width: inherit; max-height: none;}
I don’t think that was coming from built-in Anki functionality. Did you have a custom note type that did that?
[Not advice you asked for, but if you’re getting instant feedback that causes you to change your answer, and then grading based on the changed answer, you’re giving Anki inaccurate feedback about what you remembered. Garbage-in, garbage-out – if you give the algorithm incorrect data, it will reward you by being bad at scheduling your cards!]