# Changing settings of nodes in ui

**URL:** <https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621>\
**Category:** Dashboard\
**Created:** [29 November 2019 19:57 UTC](https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621 "2019-11-29T19:57:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![markush](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@markush](https://discourse.nodered.org/u/markush)\
**Post date:** [29 November 2019 19:57 UTC](https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621/1 "2019-11-29T19:57:14Z")

</div>

Hello,

for my heating scenario I use the heater-controller. I want to customize the appearance of this node and want to do this via using a template node. But i don't how to use the correct css syntax for that. I think this the section i have to change:

```auto
            .temp {
                color: #0094ce;
                font-size: 4em;
                font-weight: bold;
            }

```

This is a part of the class="ng-scope".

Can someone help me how to adapt this i a template node? I want to change the font-size parameter for a smaller font.

I've tried in a template node:

```auto
  <style>
       #Übersicht_Oben_cards {
            ng-scope {
             temp {
                 font-size: 9px !important;   
            }
        }

</style>

```

But it doesn't work 😔

---

<div class="post-metadata">

**Author:** ![markush](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@markush](https://discourse.nodered.org/u/markush)\
**Post date:** [29 November 2019 20:01 UTC](https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621/2 "2019-11-29T20:01:17Z")

</div>

The complete section in the HTML code:

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a5866053ce0a0216e795920dd9aa9e675528f5a7.png)

---

<div class="post-metadata">

**Author:** ![iiLaw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iilaw/32/14782_2.png) [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Post date:** [30 November 2019 10:12 UTC](https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621/3 "2019-11-30T10:12:57Z")

</div>

Try this think your css isn't quite right & assume the  
see css selectors [https://www.w3schools.com/CSS/css\_selectors.asp](https://www.w3schools.com/CSS/css_selectors.asp)

```auto
<style>
#Übersicht_Oben_cards.temp {font-size: 9px !important; color: red;}
</style>

```

---

<div class="post-metadata">

**Author:** ![markush](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@markush](https://discourse.nodered.org/u/markush)\
**Post date:** [30 November 2019 10:38 UTC](https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621/4 "2019-11-30T10:38:04Z")

</div>

Unfortunately not! But many thanks for the link! It read much interesting things and now it works as follows:

```auto
<style>
*.temp {font-size: 20px !important;}
</style>

```

Don't know if this is the "correct way"??

---

<div class="post-metadata">

**Author:** ![iiLaw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iilaw/32/14782_2.png) [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Post date:** [1 December 2019 12:10 UTC](https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621/5 "2019-12-01T12:10:58Z")

</div>

Your using a wildcard in the selector which isn't wrong.  
Can you share your template html.

I'm not sure of how html class and angular ng-class affect css specificity  
[https://www.w3schools.com/css/css\_specificity.asp](https://www.w3schools.com/css/css_specificity.asp)

---

<div class="post-metadata">

**Author:** ![markush](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@markush](https://discourse.nodered.org/u/markush)\
**Post date:** [1 December 2019 12:37 UTC](https://discourse.nodered.org/t/changing-settings-of-nodes-in-ui/18621/6 "2019-12-01T12:37:08Z")

</div>

The html section:

```auto
<div class="nr-dashboard-cardcontainer" id="Übersicht_Oben_cards" ng-transclude="" ng-style="{width:ctrl.width, height:ctrl.height}" style="width: 295px; height: 887px;"> <!-- ngRepeat: control in group.items --><!-- ngInclude: ::templateUrl --><md-card ui-card-size="8x1" layout="row" layout-align="start center" class="nr-dashboard-text ng-scope _md layout-row layout-align-start-center visible" ng-class="{'nr-dashboard-disabled':me.item.disabled}" style="left: 0px; top: 0px; width: 295px; height: 36px;"> <p class="label ng-binding" ng-bind-html="me.item.getLabel()"><font size="2">Heizkörper</font></p> <p class="value ng-binding" ng-bind-html="me.item.getText()"><font size="2">Küche</font></p> </md-card><!-- end ngRepeat: control in group.items --><!-- ngInclude: ::templateUrl --><md-card ui-template="me.item.format" ui-card-size="0x0" class="nr-dashboard-template ng-scope _md visible" ng-class="{'nr-dashboard-disabled':me.item.disabled}" ng-show="true" aria-hidden="false" style="left: 0px; top: 37px; width: 295px; height: 110px;"><style class="ng-scope"> 
            .iconFalse {
                color: gray;
            }
            .iconTrue {
                color: #ff4d4d;
            }
            .icon {
                margin: 0;
                margin-left: 10px;
                font-size:1em;
            }
            .userSettingsIcon {
                margin-right: 20px;
            }
            .targetTemp {
                color: #0094ce;
                font-size: 1em;
                font-weight: bold;
            }
            .heaterContr {
                margin-left: 10px;
            }
            .wrapper {
                margin-left: 14px;
                margin-right: 14px;
            }
            .temp {
                color: #0094ce;
                font-size: 4em;
                font-weight: bold;
            }
            .warning-icon i {
                margin-left: 5px;
                margin-right: 5px;
            }
            .no-select:focus {
                outline: none;
                cursor: pointer;
                -webkit-touch-callout: none; /* iOS Safari */
                -webkit-user-select: none; /* Safari */
                -khtml-user-select: none; /* Konqueror HTML */
                -moz-user-select: none; /* Firefox */
                -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none;
            }
            .user-mode {
                color: rgb(63,81,181);
            }
            .info {
                margin-right: 10px;
            }
            </style>
        <div class="wrapper ng-scope layout-align-center-stretch layout-column flex" layout="column" flex="" layout-align="center stretch" ng-init="init({&quot;calendar&quot;:{&quot;Monday&quot;:{&quot;00:00&quot;:16,&quot;05:45&quot;:23,&quot;07:30&quot;:16,&quot;11:30&quot;:21,&quot;14:00&quot;:16,&quot;23:59&quot;:16},&quot;Tuesday&quot;:{&quot;00:00&quot;:16,&quot;05:45&quot;:23,&quot;07:30&quot;:16,&quot;11:30&quot;:21,&quot;14:00&quot;:16,&quot;23:59&quot;:16},&quot;Wednesday&quot;:{&quot;00:00&quot;:16,&quot;05:45&quot;:23,&quot;07:30&quot;:16,&quot;11:30&quot;:21,&quot;14:00&quot;:16,&quot;23:59&quot;:16},&quot;Thursday&quot;:{&quot;00:00&quot;:16,&quot;05:45&quot;:23,&quot;07:30&quot;:16,&quot;11:30&quot;:21,&quot;14:00&quot;:16,&quot;23:59&quot;:16},&quot;Friday&quot;:{&quot;00:00&quot;:16,&quot;05:45&quot;:23,&quot;07:30&quot;:16,&quot;11:30&quot;:21,&quot;14:00&quot;:16,&quot;23:59&quot;:16},&quot;Saturday&quot;:{&quot;00:00&quot;:16,&quot;08:00&quot;:21,&quot;10:00&quot;:16,&quot;11:30&quot;:21,&quot;14:00&quot;:16,&quot;23:59&quot;:16},&quot;Sunday&quot;:{&quot;00:00&quot;:16,&quot;08:00&quot;:21,&quot;10:00&quot;:16,&quot;11:30&quot;:21,&quot;14:00&quot;:16,&quot;23:59&quot;:16}},&quot;unit&quot;:&quot;C&quot;,&quot;sliderStep&quot;:0.5,&quot;sliderMinValue&quot;:16,&quot;sliderMaxValue&quot;:25})">
            <div layout="row" layout-align="end center" class="warning-icon layout-align-end-center layout-row">
                <span class="info ng-binding" title="Current calendar temp" ng-show="msg.currentSchedule != undefined" aria-hidden="false"><i class="fa fa-calendar-o" aria-hidden="true"></i>21°C (11:30)</span>
                <span class="info ng-binding" title="Next calendar temp" ng-show="msg.nextSchedule != undefined" aria-hidden="false"><i class="fa fa-calendar-plus-o" aria-hidden="true"></i>16°C (14:00)</span>
                <div flex="" class="flex"></div>
                <!-- ngIf: !config.calendar -->
                <!-- ngIf: !msg.currentTemp -->
            </div>
            <div layout="row" layout-align="center center" class="container layout-align-center-center layout-row">
                <div layout-align="start center" flex="20" class="layout-align-start-center flex-20"><i ng-click="lockCustom()" ng-class="msg.isUserCustomLocked ? 'fa-lock' : 'fa-unlock-alt'" class="fa no-select fa-unlock-alt" style="font-size: 2em; color:#0094ce" role="button" tabindex="0"></i></div>
                <div layout="row" layout-align="center center" flex="" class="layout-align-center-center layout-row flex">
                    <div layout-align="end center" layout="column" class="layout-align-end-center layout-column">
                        <div title="Current target (user value or calendar). Double-click for reset." ng-class="{'user-mode': msg.isUserCustom}" class="temp no-select ng-binding" md-swipe-left="toSchedule()" md-swipe-right="toSchedule()" ng-dblclick="toSchedule()" tabindex="0">21.0°C</div>
                    </div>
                    <div class="heaterContr layout-align-center-center layout-column" layout-align="center center" layout="column">
                        <div class="targetTemp ng-binding flex-50" flex="50">21.5</div>
                        <div layout-align="space-between" layout="row" flex="50" class="layout-align-space-between-stretch layout-row flex-50">
                            <i title="Heater status" class="fa fa-fire icon iconFalse" ng-class="msg.currentHeaterStatus == 'on' ? 'iconTrue' : 'iconFalse'" aria-hidden="true"></i>
                        </div>
                    </div>
                </div>
            </div>
            <div layout-align="center stretch" layout="column" class="layout-align-center-stretch layout-column">
                <md-slider md-discrete="" ng-disabled="!msg.targetValue || !msg.currentTemp" ng-change="sendVal()" class="md-primary ng-pristine ng-untouched ng-valid ng-isolate-scope ng-empty md-min" ng-model="msg.userTargetValue" step="0.5" min="16" max="25" aria-disabled="false" aria-invalid="false"><div class="md-slider-wrapper" tabindex="-1" role="slider" style="touch-action: pan-y;" aria-valuemin="16" aria-valuemax="25"><div class="md-slider-content"><div class="md-track-container"><div class="md-track"></div><div class="md-track md-track-fill" style="width: 0%;"></div><div class="md-track-ticks"></div></div><div class="md-thumb-container" style="left: 0%;"><div class="md-thumb"></div><div class="md-focus-thumb"></div><div class="md-focus-ring"></div><div class="md-sign"><span class="md-thumb-text"></span></div><div class="md-disabled-thumb"></div></div></div></div></md-slider></div>
        </div></md-card>

```
