# Why is my CSS color choice being overwritten?

**URL:** https://meta.discourse.org/t/why-is-my-css-color-choice-being-overwritten/386352
**Category:** Support
**Created:** [October 21, 2025, 6:44pm UTC](https://meta.discourse.org/t/why-is-my-css-color-choice-being-overwritten/386352 "2025-10-21T18:44:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jack\_McCarthy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jack_mccarthy/32/487139_2.png) [@Jack\_McCarthy](https://meta.discourse.org/u/Jack_McCarthy)
#### Post date: [October 21, 2025, 6:44pm UTC](https://meta.discourse.org/t/why-is-my-css-color-choice-being-overwritten/386352/1 "2025-10-21T18:44:45Z")

</div>

I’m trying to manually recolor this forum and it’s worked for most of what I’ve attempted so far but the main table background keeps getting reset. I’m only allowed to include 1 screenshot so I’ll include the inspect menu, the primary table becomes blue again when I apply the changes to the CSS and refresh the page. It should be the same color as the sidebar on the left which I did successfully change.

I’ve tried

```plaintext
.category-list{background-color: #F6F6F5;}

```

as well as

```plaintext
.category-list, .topic-list, .column, .latest-topic-list {background-color: #F6F6F5;}

```

The background color is a variable by default and I have tried changing the definition of that variable as well with no luck.

 ![Screenshot 2025-10-21 142907](https://global.discourse-cdn.com/meta/original/4X/9/0/c/90c1ca9a82de0654832886183a0993686933b9bc.png)

---

<div class="post-metadata">

### Author: ![jahan\_gagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jahan_gagan/32/501948_2.png) [@jahan\_gagan](https://meta.discourse.org/u/jahan_gagan)
#### Post date: [October 21, 2025, 7:21pm UTC](https://meta.discourse.org/t/why-is-my-css-color-choice-being-overwritten/386352/2 "2025-10-21T19:21:09Z")

</div>

Use your browser’s DevTools to inspect the main content area and identify which CSS variable controls the background color.  
Then, override it in your theme’s CSS like this:

```plaintext
:root {
  --primary-low: #F6F6F5;
  --primary-very-low: #F6F6F5;
  --d-topic-list-background-color: #F6F6F5;
}

```

---

<div class="post-metadata">

### Author: ![Jack\_McCarthy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jack_mccarthy/32/487139_2.png) [@Jack\_McCarthy](https://meta.discourse.org/u/Jack_McCarthy)
#### Post date: [October 21, 2025, 7:51pm UTC](https://meta.discourse.org/t/why-is-my-css-color-choice-being-overwritten/386352/3 "2025-10-21T19:51:38Z")

</div>

That worked! Thank you so much for your help

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 20, 2025, 7:51pm UTC](https://meta.discourse.org/t/why-is-my-css-color-choice-being-overwritten/386352/4 "2025-11-20T19:51:51Z")

</div>

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