# Background does not change in the body tag

**URL:** <https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [6 December 2023 14:42 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467 "2023-12-06T14:42:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sercancetin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sercancetin/32/50083_2.png) [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Post date:** [6 December 2023 14:42 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467/1 "2023-12-06T14:42:44Z")

</div>

Hello. The background does not change in the body tag. The device is old and uses Node-Red v2.2.2. Is this why I can't change it? I can intervene in all other sounds, but the body background does not change.

 ![Screenshot_2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/4/34778910f6c11dc6f25c8505cde21ed8cfec77d0.png)

When I check the body part, something like this appears. I wonder if it is related to the v2.2.2 version.

 ![Screenshot_3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/c/fcdc1f724743baa0e198a7219c68ac297e018425.png)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [6 December 2023 15:43 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467/2 "2023-12-06T15:43:47Z")

</div>

Does body.nr-dashboard-theme { etc } work?

On my machine (Node-red 3.1) you can set the background in the theme settings:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/5/15a83df84ba1bfa2182b0e6ea7c019c2a8606fad.png)

Also node-red-dashboard 3 introduced much easier CSS styling of the dashboard..

---

<div class="post-metadata">

**Author:** ![sercancetin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sercancetin/32/50083_2.png) [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Post date:** [7 December 2023 06:26 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467/3 "2023-12-07T06:26:11Z")

</div>

Unfortunately, I have to code with css and I am working with v2.2.2 version.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [7 December 2023 12:33 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467/4 "2023-12-07T12:33:48Z")

</div>

You didn't answer my question.

I don't know at what point the dashboard theme feature was introduced but I should think the dashboard version is more relevant than the node-red version.

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [7 December 2023 13:28 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467/5 "2023-12-07T13:28:47Z")

</div>

You can't override the background of the body. But it is not needed also. Body has class defined and you can override that.

```auto
body.nr-dashboard-theme {
    background: red;
}

```

---

<div class="post-metadata">

**Author:** ![sercancetin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sercancetin/32/50083_2.png) [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Post date:** [8 December 2023 07:53 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467/6 "2023-12-08T07:53:33Z")

</div>

thank you for your interest. The problem was caused by Angular being selected. resolved

 ![Screenshot_5](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6a4efed51632c0d82979a74122b39bb1531500ec.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 December 2023 07:54 UTC](https://discourse.nodered.org/t/background-does-not-change-in-the-body-tag/83467/7 "2023-12-22T07:54:10Z")

</div>

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