Background from image in obsidian folder

Things I have tried

What I’m trying to do

I read Obsidian and HTTP documentation

I have theme-workspace.css file (snippet). There is a line:

background-image: url(;

Works good. But I wanted to set the background to an image from a folder in obsidian. Tried to do like this:

background-image: url(obsidian://open?vault=obsidian&file=nebo.jpeg); 
background-image: url(file:///C:/Users/stran/OneDrive/obsidian/nebo.jpeg); 

But it doesn’t work. Tell me how to solve the problem?

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