# Different \<style\> in different templates nodes in the same dashboard

**URL:** <https://discourse.nodered.org/t/different-style-in-different-templates-nodes-in-the-same-dashboard/5063>\
**Category:** Dashboard\
**Created:** [20 November 2018 10:01 UTC](https://discourse.nodered.org/t/different-style-in-different-templates-nodes-in-the-same-dashboard/5063 "2018-11-20T10:01:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Marooned](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marooned/32/2858_2.png) [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Post date:** [20 November 2018 11:57 UTC](https://discourse.nodered.org/t/different-style-in-different-templates-nodes-in-the-same-dashboard/5063/4 "2018-11-20T11:57:37Z")

</div>

[Similar post](https://discourse.nodered.org/t/updating-template-one-variable-at-a-time/4546/8). Just add a wrapper around your code with unique class/ID

```auto
<style>
/* instead of current */
.foo {...}
/* add wrapper */
.unique-wrapper-name .foo {...}
</style>
<div class="unique-wrapper-name">
  <div class="foo">your actual code here</div>
</div>

```

---

_[View the full topic](https://discourse.nodered.org/t/different-style-in-different-templates-nodes-in-the-same-dashboard/5063)._
