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

**URL:** <https://forums.ankiweb.net/t/solved-how-to-force-anki-to-use-ios-default-system-font-for-the-type-field/24707>\
**Category:** Help\
**Created:** [November 16, 2022, 12:59pm UTC](https://forums.ankiweb.net/t/solved-how-to-force-anki-to-use-ios-default-system-font-for-the-type-field/24707 "2022-11-16T12:59:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpanishInput](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@SpanishInput](https://forums.ankiweb.net/u/SpanishInput)\
**Post date:** [November 16, 2022, 12:59pm UTC](https://forums.ankiweb.net/t/solved-how-to-force-anki-to-use-ios-default-system-font-for-the-type-field/24707/1 "2022-11-16T12:59:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SpanishInput](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@SpanishInput](https://forums.ankiweb.net/u/SpanishInput)\
**Post date:** [December 12, 2022, 3:37pm UTC](https://forums.ankiweb.net/t/solved-how-to-force-anki-to-use-ios-default-system-font-for-the-type-field/24707/2 "2022-12-12T15:37:52Z")

</div>

Update: This method only targets iOS’ system font, but it does not target macOS system font. To target both, replace “ui-sans-serif” with “system-ui”.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [January 11, 2023, 3:37pm UTC](https://forums.ankiweb.net/t/solved-how-to-force-anki-to-use-ios-default-system-font-for-the-type-field/24707/3 "2023-01-11T15:37:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
