# Change body text in Minimal Publish CSS to monospace

**URL:** <https://forum.obsidian.md/t/change-body-text-in-minimal-publish-css-to-monospace/111956>\
**Category:** Devs: Theme Design & Custom CSS\
**Created:** [March 5, 2026, 11:49pm UTC](https://forum.obsidian.md/t/change-body-text-in-minimal-publish-css-to-monospace/111956 "2026-03-05T23:49:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [March 6, 2026, 2:39am UTC](https://forum.obsidian.md/t/change-body-text-in-minimal-publish-css-to-monospace/111956/2 "2026-03-06T02:39:21Z")

</div>

Looking at the official help docs (that use Publish):

 ![Screenshot 2026-03-06 112448](https://forum.obsidian.md/uploads/default/original/3X/c/8/c84e5afccae92dee63b8bd030e5fa0b5b5ca01e7.png)

it looks like the standard `--font-text` variable. So you could try that (or `--font-family` - mentioned in the second topic below). e.g.

```auto
body {
  --font-text: monospace;
}

```

Some topics that may be helpful re importing google fonts:

> [@Setup custom font - Obsidian Publish](https://forum.obsidian.md/t/setup-custom-font-obsidian-publish/60600/2):
>
> I reached out on Obsidian’s Discord server and got my problem solved there. The following articles were instrumental in figuring out what I need to do:

> [@Change font in Obsidian Publish](https://forum.obsidian.md/t/change-font-in-obsidian-publish/69456/4):
>
> Thank you for the help, I figured it out! @ariehen @kepano @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); body { --h1-size: 1.7em; --h2-size: 1.55em; --h3-size: 1.4em; --h4-size: 1.2em; --h5-size: 1.15em; --h6-size: 1.125em; --h1-weight: 700; --h2-weight: 700; --h3-weight: 700; --h4-weight: 600; --h5-weight: 600; --h6-weight: 600; --font-family: 'Inter', sans-serif; }

---

_[View the full topic](https://forum.obsidian.md/t/change-body-text-in-minimal-publish-css-to-monospace/111956)._
