# Dashboard 2.0 Template is group-scoped but affects gauges in different groups

**URL:** <https://discourse.nodered.org/t/dashboard-2-0-template-is-group-scoped-but-affects-gauges-in-different-groups/95156>\
**Category:** Dashboard\
**Created:** [5 February 2025 17:36 UTC](https://discourse.nodered.org/t/dashboard-2-0-template-is-group-scoped-but-affects-gauges-in-different-groups/95156 "2025-02-05T17:36:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtrailrunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xtrailrunner/32/74959_2.png) [@xtrailrunner](https://discourse.nodered.org/u/xtrailrunner)\
**Post date:** [5 February 2025 17:36 UTC](https://discourse.nodered.org/t/dashboard-2-0-template-is-group-scoped-but-affects-gauges-in-different-groups/95156/1 "2025-02-05T17:36:34Z")

</div>

Hello,  
I have two gauges in my dashboard. For the first I want to suppress the display of value. In the second gauge I want to see the value. I have defined a UI template with the following text:

```auto
<style>
    /* remove all texts*/
    .nrdb-ui-gauge-value, .nrdb-ui-gauge #limits text {
        display: none;
    }
</style>

```

The UI template is group-scoped but the values are not visible in both gauges.  
How can I get the desired display?  
Kind regards  
Juergen

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 February 2025 19:26 UTC](https://discourse.nodered.org/t/dashboard-2-0-template-is-group-scoped-but-affects-gauges-in-different-groups/95156/2 "2025-02-05T19:26:41Z")

</div>

CSS will not be scoped like that.

Just add a class name to one of them and add that to the CSS.

Ps, the CSS should be added to a template set for CSS. (And without the `style` tags).

---

<div class="post-metadata">

**Author:** ![xtrailrunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xtrailrunner/32/74959_2.png) [@xtrailrunner](https://discourse.nodered.org/u/xtrailrunner)\
**Post date:** [5 February 2025 19:41 UTC](https://discourse.nodered.org/t/dashboard-2-0-template-is-group-scoped-but-affects-gauges-in-different-groups/95156/3 "2025-02-05T19:41:20Z")

</div>

Thanks!  
Do you have a simple example for that or a link pointing to it?  
That would help me.  
Regards Juergen

---

<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:** [7 March 2025 19:41 UTC](https://discourse.nodered.org/t/dashboard-2-0-template-is-group-scoped-but-affects-gauges-in-different-groups/95156/4 "2025-03-07T19:41:25Z")

</div>

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