This is because .info and even more .primary are not at the top level of the DOM query.
And Iād love someone to explain how this works because it is 6 days that Iām struggling with almost the same issue with the same card but for .shape under ha-tile-icon of icon-container.
TBH, where is the style coming from? And why did you again not use, what I have posted? There should be (better compability) a style below card_mod. See my example.
And of course, you can combine both styles, the one for root and the one for shadow root. See example in this thread. One questions regarding this is only some posts above yours.
I usually hardly use card_mod if I donāt need it.
Non-standard cards almost all have a āstyleā section that works well.
In this case, yes, I agree, it is better to āmergeā everything
Sorry, originally posted this in the middle of all the repliesā¦
I would like to completely remove the app header for a tablet display. I see the example provided in the cookbook for setting app-header display to ānoneā, but that just makes the header disappear, but doesnāt move the rest of the content āupā the page. There is a padding-top of 56px in the example below that needs to be zero.
Iām not very good with CSS, so Iām not sure how this would be accomplished with card-mod (or if it even can)?
How would I specify a change to the padding for that particular div as the id ācontentContainerā is not unique. Do I somehow specify the hierarchy of elements? What would that look like in my theme?
I was using card-mod-root-yaml in my theme, but someone said I should use just card-mod-root and that worked. I was using card-mod-root-yaml based on this example on the github page.
So adding the following to the bottom of my theme (actually Cauleās theme), works
Hi can anyone help me sizing this image?
it is a picture elements and I wanted to make if smaller in āheightā
it is not working at all
tried to debug on CSS and the height is working when applying on img, but how can I do it on card-mod?