CSS snippet for Obsidian that sets a fixed, customizable background image for individual notes. It forces all note content (text, blocks, and other images) to remain fully opaque and readable above the background.
- Place the
Backgrounds.cssfile into \YourVault.obsidian\snippets. - Go to Settings -> Appearance -> CSS Snippets.
- Toggle the Note Background Image snippet ON.
To activate the background on any note:
- Add Class: Add the class
cssclasses: backgroundto the note's Properties.--- cssclasses: background ---
- Embed Image: Embed your background image using the alias
background.![[path/to/my-image.jpg|background]]
Install the Style Settings plugin. In its settings, find Background Settings to adjust:
- Opacity: Sets image transparency.
- Blur Effect: Controls image blur.
- Saturation: Adjusts color intensity.
- Mobile Blur Effect: Reduces blur on narrow panes for performance.
