(Solved) How to force Anki to use iOS default system font for the type field?

EDIT: The solution is to target the font “ui-sans-serif”. So the font-family like must look like this:

font-family: ui-sans-serif, Calibri, Helvetica, Arial, sans-serif;

----Original Post----

Hi! In “type answer” fields, Anki uses a monospaced typewriter-style font. I can easily force this to use a different font with these three lines:

code#typeans {
font-family: Calibri, Helvetica, Arial, sans-serif;

For all other fields, if I delete the “font-family” line, iOS Anki will use iOS’ default system font, SF Pro. But on the “type answer” field I haven’t found a way to force it to use this font. I’ve tried calling it by several names in the font-family line: SF Pro, San Francisco, etc, but nothing works.

Any help is appreciated.

1 Like