Has anyone got it working to use card-mod with grid card to change the title attributes? For instance changing font size and padding? I believe card-mod usually does not work with cards like grid, stacks etc. Perhaps with 3.0 it’s become possible.
I see it’s under a constructed style sheet when I inspect element:
And there is the code under it:
color: var(--ha-card-header-color, --primary-text-color);
font-family: var(--ha-card-header-font-family, inherit);
font-size: var(--ha-card-header-font-size, 24px);
padding: 24px 16px 16px;
Changing it in inspector works, but I can’t seem to find a way to use it in card-mod.
Maybe this is possible using the theme as well, in that case I need to ask in that topic. However I wonder if it’s possible per card as well, so you can have different font sizes and paddings per grid card.
Edit: I got the font size working per theme by using
ha-card-header-font-size in theme.yaml. Padding still no go.