Thank you. As a newb it’s very confusing as to where code is allowed and where it isn’t. The whole system is on-the -fly execution, so the inconsistencies are even more mind boggling. Works here, not there, seems random. And css mods seems like an even bigger hack.
just follow the documentation, and as a base rule: no templating in Dashboards except Markdown, and no css except where explicitly stated…
if its as simple as in your example, and conditional card can fix your trouble, but, when things get more complicated, there is no other way than going custom.
And then the box of Pandora opens, both regarding options and possibilities, but certainly regarding challenges and inconsistencies
Iow: go with the flow, learn as you need, and dont invent your own options