How to apply custom css snippets to Obsidian Publish?

Hello Everyone,

I created a new file (publish.css) and added it to my vault directory. But nothing seems to happen after publishing. The same look and feel without the CSS changes in publish.css (7.6 KB)

I’ve tried to clear cache memory and use different browsers from different operating systems. And the problem is still the same.publish.css (7.6 KB)

CSS file: attached
Published website: Obsidian Publish

Anyone can help?

Thank you in advance.

1 Like