I have an issue with either card-mod or mushroom, I believe. On my main computer browser and HA app on android, the dashboard looks correct. But on any other browser on other computers, it seems to not be formatting correctly. The image below with the red fonts is correct. The other is what I see on other browsers. Not sure what is causing this or where I should start investigating.
Still trying to figure this out. It works fine on Chrome on my main computer only. Edge on my main computer doesn’t format correctly or any browser on any other computer. I’ve tried clearing cache and history on the others, but doesn’t change. Any ideas on what to look for?
The only thing I can think of is to check the theme that is being used on the other instances, and confirm its the same as the one you use on your main pc.
I did run the update yesterday or the day before, whenever it popped up. I am now running 3.4.1 and it did not make a change. Also, I am not using any themes.
Sorry about the code not looking right, I was in a rush when I posted that. What you posted seems to work right now, so I definitely appreciate that. Can you advise what the purpose of using “!important” in the code is? I noticed it works with or without it, but I am sure this is a reasoning for using it.
Posting the current code below to make sure I know how to post it properly:
The !important rule in CSS is used to add more importance to a property/value than normal and will override previous styling rules for that specific property on that element!
For what we are doing, !important should override most themes unless the theme itself has everything set to !important. It’s not necessary on all mods, but if a mod isn’t working you should try it to ensure the JS is truly being overridden.