#Card mod Mushroom Template Card
1 messages · Page 1 of 1 (latest)
You'll more than likely need to use card_mod to make that happen. Here's a bunch of stuff you can reference. ```yaml
type: custom:mushroom-template-card
primary: Hello, {{ user }}!
secondary: '{{ states("sensor.time") }}'
fill_container: false
multiline_secondary: false
card_mod:
style: |
:host {
--primary-text-color: red;
--secondary-text-color: red;
--ha-card-background: transparent;
--ha-card-border-width: 0;
text-align: center;
--card-primary-font-size: 26px !important;
--card-secondary-font-size: 18px !important;
font-family: 'Comfortaa';
}
That is exactly what I'm trying to do!!!! That's what the card I was trying to do. I even used ChatGPT which was useless. I'm gonna copy your yaml if that is ok with you? @floral talon
So I did something right. I still get this error which I"m baffled on what the issue is....
wait. I realized I didn't have card-mod and that worked
Normally I add links to reference stuff like card_mod but I'm at work at the moment and didn't add it. Card_mod is really useful; it is just a matter of getting it to work... Some of the syntax may vary depending on the card but, for the most part, the concepts are the same.
Also, don't trust ChatGPT to help you with working with Home Assistant. You're way better off asking here in Discord or in the forum.
I'm trying not to be a bother to you guys. I don't know how you guys handle Noob for HAOS. I'm still learning and I wish there was like a book for 1 stop that teaches all
Unfortunately, so much stuff changes, new stuff is frequently added, and there's usually different methods of accomplishing the same task so a one stop for everything isn't really feasible. The community is pretty good at helping out newbies provided you've done your own diligence to solve your own problem. Googling, searching the forum, and trying to figure it out on your own is enough. (ChatGPT doesn't count.) Don't hesitate to ask. Showing what you've tried and what's going on is going to get better attention than just saying something doesn't work. HA has a steep learning curve and can easily become frustrating.