Change the font-family for a specific dashboard switch label

Hi,

I am creating a Google Home Alarm Clock dashboard.
In this flow I have several dasboard switches,
however I want to change the font-family and size of a label of only one of the switches.

How do I do that?
In the <\> Template node or in the <\> class of that specific switch?

In my template node I manage to change the cardtitle:

.nr-dashboard-cardtitle {
   
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 22px; 
}

In your template you can add a style rule

[node-id = "8d254c688c7d5b14"] p.label {
...
}

Or if you prefer, give the switch a special CSS class name and style it with

.specialcssclass p.label {
...
}

Thanx, both work but I use the template!

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