Have spent a few hours working with card-mod in a pictures-elements card to make the background of the mini-graph-card transparent and remove the shadow, both of those items work. What I havenāt been able to figure out is how to do the placement of the graph anywhere in the picture-elements card, I can get it to move left but it wonāt move upā¦
I canāt seem to get card-mod to do any changes whatsoever to my cards. I had a similar problem with card-modder, which worked for overriding card height, but nothing else in terms of changing the look of cards. Iāve tried many things, but basically just lifting the exact example out of the documentation doesnāt work. Is there a possibility itās conflicting with my theme or another card or something? Iāve reloaded, cleared cache 1000xā¦
Hereās what I did (you can see my full config here, and the card shown is at the bottom of this file)
I dunno, I was pretty surprised that I could have all my cards still installed in the www folder and in my lovelace config and it somehow overrode all them and they all stopped working.
But you were right about making a module, now it works. Thanks.
So card-mod is working fine, but for some reason I cannot get the mod-card to workā¦ Is there something additional that needs to be done to install it? I have tried like this on all the cards where card-mod didnāt work, but none of them took. Same exact style Iāve been applying to my other cards that worked.
I have a problem using card-mod and entities card. Whenever I apply any css through card-mod the entities card take up some time to load (unlike other cards that I have styled in the same way). At first I thought it might be that I had too much code in the card, but then I tried it only with a single entity and it does the same, it will show the theme style before applying the styles within card-mod.
It is not a big deal, though the entities card does take quite some time to load. I do not understand why though. Anyone else having this issue?
I asked @thomasloven and he said it hadnāt been implemented but that heād consider adding it as a feature to mod-card. Hereās his quote:
report_size has always been a bit hit-or-miss, so I didnāt bother to add it back when I refreshed card-modder into card_mod. I could add it to mod-card, thoughā¦
I will try to open some of the items Iāve found in my experiments as issues on github so he can track them. I hadnāt noticed the bit you had found so I will try it and see if it does anything, maybe he just forgot he implemented it.