# Make PNG BG Transparent in Minimal Theme

**URL:** <https://forum.obsidian.md/t/make-png-bg-transparent-in-minimal-theme/118279>\
**Category:** Devs: Theme Design & Custom CSS\
**Created:** [September 15, 2026, 8:55am UTC](https://forum.obsidian.md/t/make-png-bg-transparent-in-minimal-theme/118279 "2026-09-15T08:55:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunshineash](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/8dc957/32.png) [@sunshineash](https://forum.obsidian.md/u/sunshineash)\
**Post date:** [September 15, 2026, 8:55am UTC](https://forum.obsidian.md/t/make-png-bg-transparent-in-minimal-theme/118279/1 "2026-09-15T08:55:26Z")

</div>

### What I’m trying to do

Hello all! I just decided to change my vault from dark to light mode, and decided to take advantage of the style settings as I wasn’t in love with any of the preset light mode themes. I’m running into a PNG issue now though, at least in card view of bases. Now, the background defaults to the secondary color set in my Style Settings. Wondering if there’s a way to make the PNG match the primary background color in the card view without downloading the source image and adding in a white BG myself (especially as this will alter how it’ll look in dark mode – I tend to switch between pretty regularly.) Photos attached!

 ![Screenshot 2026-09-15 045312](https://forum.obsidian.md/uploads/default/original/3X/8/e/8eb347cb930301133f082337364478cca5900289.jpeg)

 ![Screenshot 2026-09-15 045300](https://forum.obsidian.md/uploads/default/original/3X/c/c/cc002c5613f64255e134401ae814fc2b8f41cd81.jpeg)

### Things I have tried

I haven’t tried much, aside from changing the card colors in the Minimal Card section of the Style Settings to match my primary background. No luck. I’m really a beginner, and just starting to pick up on some of the syntax used in Obsidian, so the most basic language would be helpful (and that is also why I haven’t tried any fixes really.

---

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [September 15, 2026, 10:10am UTC](https://forum.obsidian.md/t/make-png-bg-transparent-in-minimal-theme/118279/3 "2026-09-15T10:10:22Z")

</div>

Without knowing your exact setup or having the image to test, this is just winging it, but you could try a [CSS snippet](https://obsidian.md/help/snippets) of

```css
.bases-cards-cover {
    background-color: var(--background-primary);
}

```

or

```css
.theme-light .bases-cards-cover {
    background-color: var(--background-primary);
}

```

if the background looks strange in the dark color scheme (`.theme-light` keeps any changes to the light color scheme only).

---

<div class="post-metadata">

**Author:** ![sunshineash](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/8dc957/32.png) [@sunshineash](https://forum.obsidian.md/u/sunshineash)\
**Post date:** [September 16, 2026, 1:43am UTC](https://forum.obsidian.md/t/make-png-bg-transparent-in-minimal-theme/118279/4 "2026-09-16T01:43:06Z")

</div>

Thank you! That worked 🙂 appreciate the help

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [October 16, 2026, 1:43am UTC](https://forum.obsidian.md/t/make-png-bg-transparent-in-minimal-theme/118279/5 "2026-10-16T01:43:44Z")

</div>

Closed on October 16, 2026, 1:43am UTC

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