# Templates for CSS in Obsidian Publish

**URL:** <https://forum.obsidian.md/t/templates-for-css-in-obsidian-publish/112584>\
**Category:** Help\
**Tags:** publish\
**Created:** [March 23, 2026, 8:16pm UTC](https://forum.obsidian.md/t/templates-for-css-in-obsidian-publish/112584 "2026-03-23T20:16:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hist-geo-materialist](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/edb3f5/32.png) [@hist-geo-materialist](https://forum.obsidian.md/u/hist-geo-materialist)\
**Post date:** [March 23, 2026, 8:16pm UTC](https://forum.obsidian.md/t/templates-for-css-in-obsidian-publish/112584/1 "2026-03-23T20:16:12Z")

</div>

### What I’m trying to do

I am new to Obsidian Publish and am trying to use custom CSS but am having trouble. Anyone have templates for the publish.css file for this that I could look at?

---

<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 23, 2026, 10:53pm UTC](https://forum.obsidian.md/t/templates-for-css-in-obsidian-publish/112584/2 "2026-03-23T22:53:05Z")

</div>

Have a look here:

> **[Build a Publish theme - Developer Documentation](https://docs.obsidian.md/Themes/Obsidian+Publish+themes/Build+a+Publish+theme)**
>
> Build a Publish theme - Developer Documentation

* * *

Two themes (that I know of) have `publish.css` files ready to drop in and go are Minimal and ITS.

Minimal looks to have 13 different colors schemes to choose from:

> **[Minimal for Obsidian Publish - Minimal Documentation](https://minimal.guide/publish/download)**
>
> Minimal for Obsidian Publish - Minimal Documentation

* * *

> **[Publish Theme - SlRvb's Documentation - Obsidian Publish](https://publish.obsidian.md/slrvb-docs/ITS+Theme/Publish+Theme)**
>
> Publish Theme - SlRvb's Documentation - Powered by Obsidian Publish.

> <https://github.com/SlRvb/Obsidian--ITS-Theme/blob/main/publish.css>

* * *

There are also some great tips and links here for Publish:

> [@Obsidian Publish resources](https://forum.obsidian.md/t/obsidian-publish-resources/74582):
>
> howdy, after discussion on the discord we felt that a forum post would be the best way to start collecting css snippets, tweaks, and visual resources for obsidian publish websites. if you have some css or js to share, we would love to see it! i’ll start us off: .markdown-rendered p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; word-spacing: -0.05em; text-justify: distribute; text-align-last: left; } the above justifies webtext (note: only in some browser…

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [June 21, 2026, 10:53pm UTC](https://forum.obsidian.md/t/templates-for-css-in-obsidian-publish/112584/3 "2026-06-21T22:53:48Z")

</div>

Closed on June 21, 2026, 10:53pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
