Background Snippet
SNIPPETDemieroX

Background Snippet

Add background images to your notes in Obsidian!

CSSAny theme
# Obsidian Note Background Snippet

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.

![Showcase](images/enable-background.gif)

---

## Installation

1.  Place the `Backgrounds.css` file into  **\YourVault\.obsidian\snippets**.
2.  Go to **Settings** -> **Appearance** -> **CSS Snippets**.
3.  Toggle the **Note Background Image** snippet **ON**.

## Usage

To activate the background on any note:

1.  **Add Class:** Add the class `cssclasses: background` to the note's **Properties**.
    ```yaml
    ---
    cssclasses: background
    ---
    ```
2.  **Embed Image:** Embed your background image using the alias **`background`**.
    ```markdown
    ![[path/to/my-image.jpg|background]]
    ```

## Customization

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.

Related

How to Install

  1. Download the CSS file below
  2. Move it to your vault's .obsidian/snippets/ folder
  3. Open Obsidian → Settings → Appearance → CSS Snippets → Enable it
Download snippet.css

Stats

Stars

4

Forks

0

License

MIT

Last updated 5mo ago

Categories