# Change chat font

**URL:** https://meta.discourse.org/t/change-chat-font/253362
**Category:** Support
**Tags:** chat
**Created:** [January 30, 2023, 6:39pm UTC](https://meta.discourse.org/t/change-chat-font/253362 "2023-01-30T18:39:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [January 30, 2023, 6:39pm UTC](https://meta.discourse.org/t/change-chat-font/253362/1 "2023-01-30T18:39:24Z")

</div>

I changed the font on the forum, but the font for chat isn’t the same as that. How would I go about changing that? Thanks.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 30, 2023, 7:27pm UTC](https://meta.discourse.org/t/change-chat-font/253362/2 "2023-01-30T19:27:58Z")

</div>

Oh good question, looks like we use a different font for chat in a couple places:

> <https://github.com/discourse/discourse/blob/e3a48d2681852e8e8275abe19c981c7295b64929/plugins/chat/assets/stylesheets/common/common.scss#L383>

> <https://github.com/discourse/discourse/blob/b83d9fa8027607d2c2c3bd4089423bf95224aac1/plugins/chat/assets/stylesheets/common/chat-drawer.scss#L6>

For now these can be overridden using CSS:

```scss
.full-page-chat,
.chat-drawer-outlet-container {
  font-family: var(--font-family); // Discourse default, can change to whatever
} 

```

@chapoi do you know if there’s a reason we don’t use the default fonts for chat?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [January 31, 2023, 9:49am UTC](https://meta.discourse.org/t/change-chat-font/253362/3 "2023-01-31T09:49:40Z")

</div>

Hm, that has been setup before me, but I don’t think there’s a specific reason for it. Will make a change to it after checking to be sure.

Update: this has been fixed, chat will use the same font now. Thanks for pointing it out!

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [January 31, 2023, 10:01am UTC](https://meta.discourse.org/t/change-chat-font/253362/5 "2023-01-31T10:01:52Z")

</div>


