I tried changing the –ha-card-font-size: 1px !important; but the font OPEN and DOCKED doesn’t change. More info. about my setup is running home assistant core on a raspberry pi and on Home Assistant Core 2022.6.7
Does anyone know how to change the font of the two words? Thank you
stacks are painful to adjust as they don’t really have a panel with properties. It’s much easier to put the style on each entity_card. Otherwise, you have to come up with the correct selector.
Thanks for the suggestion. I managed to change the font size by separating each entity like you suggested (i.e. moving them out of the horizontal stack), but as a result, the entities weren’t horizontally stacked anymore.
I did figure out that button cards have smaller font size than entity cards, so I managed to get the font size smaller while still having them horizontally stacked. This way my cards fit nicely on my dashboard.
Better to ask card-mod questions in a dedicated card-mod thread.
It also has examples which you may find useful: 1st post → link at the bottom.
Probably you misunderstood.
You do not need to remove cards from a stack.
To style cards in a stack - use card-mod inside every card.
Using mod-card for the whole stack is required to style the stack itself.
You may style Entity card as you wish - use examples mentioned above.