# How to use Noto Sans for posts but Sans UI for everything else?

**URL:** https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344
**Category:** Support
**Created:** [2017年一月7日 22:25 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344 "2017-01-07T22:25:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)
#### Post date: [2017年一月7日 22:25 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344/1 "2017-01-07T22:25:16Z")

</div>

I have been trialing with the [Google Noto](https://www.google.com/get/noto/) fonts. The Noto Sans is quite pleasant for longer posts, as it has a bit more horizontal spacing/width. I looks fantastic on deviced with high DPI, such as modern mobile phones and larger devices with a very high resolution.

The width of Noto Sans may cause some issues with the UI of Discourse, such as the burger menu. The Noto font package includes a **Noto Sans UI** version of the font, with a smaller horizontal footprint. This makes me wonder how to customize Discourse so that:

- The posts are using font Noto Sans
- All of the UI are in Noto Sans UI

This could be visually nice, or what say you?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [2017年一月8日 01:27 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344/2 "2017-01-08T01:27:37Z")

</div>

You can do this with only CSS customizations. Not too hard.

---

<div class="post-metadata">

### Author: ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)
#### Post date: [2017年一月9日 07:59 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344/3 "2017-01-09T07:59:34Z")

</div>

Hm..on one instance I currently use Noto Sans globally:

HEAD:

```
<link href="https://fonts.googleapis.com/css?family=Noto+Sans:400,500,700" rel="stylesheet">

```

CSS:

```plaintext
html {
    font-family: "Noto Sans", sans-serif;
}
body input, body button, body select, body textarea {
    font-family: "Noto Sans", Helvetica, Arial, sans-serif;
}
```

But since my HTML skills are from the 90’s, I am a bit unsure where to go from here. Has anyone patched anything similar and could share an example?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019年四月18日 15:48 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344/4 "2019-04-18T15:48:54Z")

</div>



---

<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: [2019年四月18日 15:57 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344/5 "2019-04-18T15:57:01Z")

</div>

If you want to change the font of posts, this would do it. Note that I’m also changing the font of the composer and preview (with `.d-editor-container`) to match:

```scss
.topic-body .cooked,
.d-editor-container {
  font-family: "your font here";
}

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022年七月19日 04:21 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344/6 "2022-07-19T04:21:53Z")

</div>



---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2022年七月19日 09:21 UTC](https://meta.discourse.org/t/how-to-use-noto-sans-for-posts-but-sans-ui-for-everything-else/55344/7 "2022-07-19T09:21:52Z")

</div>


