# Font size for code inserts in posts

**URL:** https://meta.discourse.org/t/font-size-for-code-inserts-in-posts/113424
**Category:** Support
**Created:** [April 4, 2019, 8:56am UTC](https://meta.discourse.org/t/font-size-for-code-inserts-in-posts/113424 "2019-04-04T08:56:35Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cjk77](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cjk77/32/151779_2.png) [@cjk77](https://meta.discourse.org/u/cjk77)
#### Post date: [April 4, 2019, 12:15pm UTC](https://meta.discourse.org/t/font-size-for-code-inserts-in-posts/113424/2 "2019-04-04T12:15:36Z")

</div>

Easy enough to do by overriding the CSS in a theme component:

```css
code {
     font-size: 0.8em
}

```

(If you’re not familiar with theme components, there’s more info [here](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682).)

---

_[View the full topic](https://meta.discourse.org/t/font-size-for-code-inserts-in-posts/113424)._
