I know there’s multiple questions on styling but none seem to solve my problem.
I have card-mod, card-tools, custom-ui installed and cannot get anything that has styling in it to work…
Here’s typically what I’m getting… so what am not seeing here?
well, your style isn’t working because you have 2 ; in a row in the style.
As for the error you see on screen, that’s whatever addon you’re using. It’s not built to understand custom stuff, so it’ll always show that red squiggly.
I only replaced a color for “background” & specified a “border” with line thickness & style (to make it visible that styles are applied).
Regarding a message in your Editor - you may not worry about it as long as it lets you to save the file.
Starting from card-mod 3.0, using the “card_mod” keyword is advised; moreover, in some cases (styling elements inside Picture elements card) you MUST use this keyword.
Also, the native HA Editor does not allow to save a file if “card_mod” keyword is missing; if using YAML-mode - there is no such a problem.
So, it is recommended to use the “card_mod” keyword as a “good practice”.
I strongly suggest you to ask any card-mod questions in the already existing dedicated card-mod thread.
I do not think that it matters since the whole stuff is a string.