# Adding multiple typeface fonts

**URL:** <https://forums.ankiweb.net/t/adding-multiple-typeface-fonts/71613>\
**Category:** Card Design\
**Created:** [October 27, 2026, 11:07pm UTC](https://forums.ankiweb.net/t/adding-multiple-typeface-fonts/71613 "2026-10-27T23:07:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shuibhne](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/shuibhne/32/35527_2.png) [@Shuibhne](https://forums.ankiweb.net/u/Shuibhne)\
**Post date:** [October 27, 2026, 11:07pm UTC](https://forums.ankiweb.net/t/adding-multiple-typeface-fonts/71613/1 "2026-10-27T23:07:41Z")

</div>

How do I add multiple custom fonts to Anki to use at the same time?

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [October 28, 2026, 12:02am UTC](https://forums.ankiweb.net/t/adding-multiple-typeface-fonts/71613/2 "2026-10-28T00:02:26Z")

</div>

Anki will use any fonts you have installed on your device. But if you use multiple devices or unusual fonts, you’ll want to install them in your collection – [Styling & HTML - Anki Docs](https://docs.ankiweb.net/manual/templates/styling#installing-fonts) .

---

<div class="post-metadata">

**Author:** ![Shuibhne](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/shuibhne/32/35527_2.png) [@Shuibhne](https://forums.ankiweb.net/u/Shuibhne)\
**Post date:** [October 28, 2026, 2:53pm UTC](https://forums.ankiweb.net/t/adding-multiple-typeface-fonts/71613/3 "2026-10-28T14:53:35Z")

</div>

I am trying to get the Usage Label to be on the same line as the Part of Speech, but when setting the font and size for the fields it automatically adds a line break, is there a way to have them be on the same line and still use different fonts and sizes?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/4/7/474b4b34249d6bb060a761d120bf466228db5168.png)

---

<div class="post-metadata">

**Author:** ![Eltaurus](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/eltaurus/32/10287_2.png) [@Eltaurus](https://forums.ankiweb.net/u/Eltaurus)\
**Post date:** [October 28, 2026, 3:39pm UTC](https://forums.ankiweb.net/t/adding-multiple-typeface-fonts/71613/4 "2026-10-28T15:39:22Z")

</div>

> [@Shuibhne](#):
>
> but when setting the font and size for the fields it automatically adds a line break

That’s not because of the font itself, but because you are using a `<div>` tag which by default has a `display: block` property, meaning it is intended to be displayed as a separate vertically-separated entity.

The simplest solution for you would be to just use `<span>` tag instead (for both part of speech and usage label fields).

* * *

If you plan on building on that template further, however, it’s worth format it properly first. In that case I would suggest to leave only the following code on the front side:

```auto
<div class="word">
  {{Word}}
</div>

<div class="PoS">
  {{Part of Speech}}
  <span class="label">
    {{Usage Label}}
  </span>
</div>

```

to keep the content structure and styling separate. And move the respective styles to the `Styling` tab:

```auto
.word {
  font-family: "myfontb";
  font-size: 27px;
}

.PoS {
  font-family: "myfonti";
  font-size: 20px;
}

.label {
  font-family: "myfont";
  font-size: 18px;
}

```
