Hi Hosh, that didnt work . See below my setup please.
I am editing the tile and have selected the battery100 style (that lives under battery theme, which is selected for the dashboard). The % is not visible.
Any thoughts?
[/quote]
Hi Hosh, that didnt work . See below my setup please.
I am editing the tile and have selected the battery100 style (that lives under battery theme, which is selected for the dashboard). The % is not visible.
Any thoughts?
[/quote]
The style is called battery100
, but the css is targeting a style called battery
The CSS needs to target the exact style name. You can add multiple targets in a single CSS declaration too:
.tile.--theme-style-battery100 .value::after,
.tile.--theme-style-battery80 .value::after,
.tile.--theme-style-battery60 .value::after,
.tile.--theme-style-battery40 .value::after,
.tile.--theme-style-battery20 .value::after {
content: "%";
}
The names of each comma separated line would need to be updated according to the styles you define.
Got it! I think i have now understood how this works! Many thanks!