Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

No more background-color in style: for entities card in vertical-stack-in-card?

$
0
0

@Mariusthvdb wrote:

Hi,

suddenly my background color is gone, while the font color set in the style is fine.

has anything changed overnight in this style field:

  - type: custom:vertical-stack-in-card
    cards:
      - type: picture
        image: /local/images/nmbs.png
        hold_action:
          action: url
          url_path: https://www.belgiantrain.be/nl
      - type: entities
        style: |
          ha-card {
            --ha-card-background: rgb(0,100,182);
            color: rgb(217,242,251);
          }
        title: Nmbs reizen
        show_header_toggle: false
        entities:
          - sensor.essen_brussel_noord
          - sensor.brussel_noord_essen
          - sensor.roosendaal_essen
          - sensor.essen_roosendaal

what am I missing now? tried background-color, or background, to no avail…hex color idem ditto.

it dod work before, and, if I use the exact style on a regular entities card, it colors right away… did the vertical-stack-in-card change maybe? Preventing contained card from using a background styling

please have a look? thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles