# How to change ui-text background color?

**URL:** <https://discourse.nodered.org/t/how-to-change-ui-text-background-color/18854>\
**Category:** Dashboard\
**Created:** [6 December 2019 09:22 UTC](https://discourse.nodered.org/t/how-to-change-ui-text-background-color/18854 "2019-12-06T09:22:17Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 December 2019 17:55 UTC](https://discourse.nodered.org/t/how-to-change-ui-text-background-color/18854/10 "2019-12-06T17:55:58Z")

</div>

If I make the CSS more targetable you could do this

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/22ed74020b366f7bde744beeaa314c12208ed58e.png)

by adding a style template like

```auto
<style>
    .nr-dashboard-widget-Test_text {
        background-color:red !important;
    }
</style>

```

(by using the label to help set the class...)

Any good ?

---

_[View the full topic](https://discourse.nodered.org/t/how-to-change-ui-text-background-color/18854)._
