Trying to hide border on entity card

Hi,

Try to eliminate border on entity card, but it remains after trying couple things. Any ideas?

type: weather-forecast
entity: weather.home
forecast_type: daily
show_current: true
show_forecast: true
card_mod:
  style: |
    ha-card {
      background: transparent !important;  # Transparent background
      border: none !important;             # No border
      box-shadow: none !important;         # No shadow
      padding: 10px !important;            # Optional padding
    }

Hi Brian, did you refresh your browser/clear the cache?

Make sure you are using card-mod 3.4.4.

Wrong way of commenting, cannot use “#” here.

1 Like

thanks for replying and offering to help

@Nick4 - By default my firefox clears cache and temp files everytime I exit.

@Ildar_Gabdullin - I do have card-mod, pretty sure its up to date. Would need to confirm later I got latest.

Just tells me I have Card-Mod 3, doesn’t give me minor version, but it appears up to date. Also removed the bad comments. After doing that getting desired affect. Weird because I was getting no code errors.

You can see an exact version in Code Inspector (or whatever it is called in your browser).