Question regarding markdown card

Hi all,

I jumped in to Home Assistant world around three months ago. I have been tweaking the system in configuration wise but also tried to create the lovelace that I like to use.

Question: how I create the mardown card which uses the current background color?
I have tried to find the answer from the community with no success.

Please see the screenshot below from Zack Barrett video
Screenshot 2021-02-10 172034

You can do this with card-mod

Then you can use this for example:

style: |
  ha-card {
    background: none;
    box-shadow: none;
  }

Thank you very much, it is working!
In the beginning I thought that this can be done without mod.

I’m not sure, maybe it could be done with the theme as well, but then it would apply to all cards, so you’d need to change other cards to have a background.

Could you please mark my post as the solution? This way others will find the solution quickly and the topic will be marked as solved.

Yes no problem! :+1:
I didn’t even notice that there is “solution” button.

As you mentioned theme could be also the way, but this is way easier to handle imo.

1 Like