I cant see css in canvas cards

What I’m trying to do

Hello. I cant write or even see css in canvas cards. Even in canvas-candy tutorial, they are empty for me. When i write — it turns to the line and then everything else turns into Title.

Things I have tried

ive tried \ and space and everything inside card. Turned on and off. New vault also. I see how it works in internet, why it looks so different?

Check this list:

  • some plugin overwrites your css
  • some theme overwrites your css
  • your css is outdated bc your version of Obsidian newer
  • your css throws errors, so rules can’t be applied
  • try to install a fresh copy of Obsidian from its main page, instead to use Obsidian’s build-in updater

It is not clear from your question but apparently you are trying to use canvas-candy.

I cloned the repo and observed the following problems:

  • Frontmatter is not visible in the cards when you click on them, because the setting “Editor → Properties in document” is set to “Hidden”. It should be “Source”
  • This repo uses a syntax for cssclasses that is not compatible with current Obsdian versions. A comma separated sequence of classes no longer works. It has to be translated into a proper yaml list. At some points it uses cssclass instead of cssclasses which has been deprecated.

I created a fork of the original repo and fixed these problems. I also removed the blur applied to the drop-shadow effect, because it is not required and had the side effect of blurring a bit the content too.

My fork is here → GitHub - jldiaz/obsidian-canvas-candy: Enhances the visual capabilities of Obsidian's Canvas feature

I’ve done a PR to the original repo.

UPDATE (2025-07-19) My pull request was aacepted and merged into main repo. You only have to download the latest version.

1 Like

Thanks for sharing this!
I just started playin around with Canvas Candy. The downloaded vault functions as it should, but then after copying over the canvas candy css snippet to my own vault it just would not work. My “Editor → Properties in document” were set to visible. Changing these to Sourc in Editor settings solved this problem.

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