Yes, there are some examples, but not here since this is the wrong thread for that. You need card-mod, but not using it with cards (where this thread is about) but with themes. See here:
I tried it myself back then but I didnāt like it (I had issues centering some tabs etc). You should search in that thread for āfooterā, maybe youāll find some code.
In any case, you can ask there for more help if you get stuck. Hopefully someone can help you. I ditched the entire header myself.
I have below code to remove the three dot on the light card. However it seems recent HA update broke it that the three dot appears again. Anyone know how to fix this? Thanks!
After some trial i was finally able to change the color of the icons globally but is there a way to color each icon individually with card-mod? Any help is greatly appreciated. Other things i want to change is to get rid of the right menu (three-dotted-menu) and i want to change the box shadow. Normally i do it with:
Are you sure, that it is working? As far as I can see restriction embeds the sub-card without ha-card and I thought, that this is needed for card_mod to search and work.
Regardless what I try, Iām currently not able to ingest anything at card level.
Hm. And where is the advantage instead of styliing from restriction card level, what was my starting point.
From my experiences, it is much more performance consuming to have this from top card level card level instead of deepest entity level. I had this with a slider entity row and it was nearly 1 second slower in having it at entity level instead of top card position.
was never seen before (at least by me) and seems like a glitch.
A proper method (probably which used to be used by you) stopped working - see the issue above.
Surely you may use whatever method you like.
I also just tried adding coloured icons to a different card, and itās done exactly the same thingā¦ yet nothing in the logs - any idea what debugging I can turn on (if any)?
Have also reinstalled card_mod
Update: itās working fine on my 2nd HA instanceā¦ I really donāt get thisā¦
Hi, i have css formatted several badges, it has been working until two days ago. 11.2 Core installed.
Desired look:
Since two days ago:
If i open Raw Config Editor and exit, styles are applied even without saving any changes (no one is done). I have to do that every time i open a new HA tab on web browser or open the app. Also tried with and without card_mod: label
Iām about to update the recommended installation method for card-mod.
Itās always been highly timing-dependent, and as hass gets more and more optimized it gets harder and harder to keep up.
Luckily, thereās a thing you can do to help.
By adding the following to your configuration.yaml (obviously adjusting the URL to where you actually have card-mod installed) and restarting, you can give card-mod a head start.
It will even be there - waiting - when the core interface parts are still loading in.
You may get some errors in the browser console. They can be safely ignored, and Iām currently working on some tweaks to make this installation method work even more smoothly.
Nevertheless, this should remove most issues with things working when switching tab, but not when pressing F5 and that kind of thing.
If I had started today, I would have made card-mod a custom component or integration rather than a frontend plugin. Itād be an incredibly breaking change for everyone using HACS to switch now, though. So youāll need some manual intervention unless @ludeeus can think up some magic.
tbh, I havent met many issues during the HA changes, in fact, I can only see 1 mod not working anymore. I have meticulously read the posts above and many come close, but just not exactly: