# \[CARTE\] Meteofrance weather\_alert et next\_rain Cards

**URL:** <https://forum.hacf.fr/t/carte-meteofrance-weather-alert-et-next-rain-cards/1250>\
**Category:** Dev\
**Tags:** meteo-france, carte-personalise-custom-card\
**Created:** [Novembre 28, 2020, 9:54 UTC](https://forum.hacf.fr/t/carte-meteofrance-weather-alert-et-next-rain-cards/1250 "2020-11-28T09:54:02Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Clemalex](https://forum.hacf.fr/user_avatar/forum.hacf.fr/clemalex/32/3691_2.png) [@Clemalex](https://forum.hacf.fr/u/Clemalex)\
**Post date:** [Décembre 30, 2020, 8:49 UTC](https://forum.hacf.fr/t/carte-meteofrance-weather-alert-et-next-rain-cards/1250/10 "2020-12-30T20:49:00Z")

</div>

Sans modifier le code de @vdomos, tu peux utiliser [card-mod](https://forum.hacf.fr/search?q=card-mod) (je l’ai présentée [ici](https://forum.hacf.fr/t/modifier-la-couleur-dicone-sur-un-button-card/447/2)).

Ce qui donnerais :

Cacher le nom de la ville :

```auto
type: 'custom:meteofrance-raininhourforecast'
entity: sensor.<ma-ville>_next_rain
style: |
  .card-header{display: none;}

```

 ![image](https://forum.hacf.fr/uploads/default/original/2X/b/b8b54cd5480e0a051a915f9669095b20b787ef25.png)

* * *

* * *
  

> [@vdomos](#):
>
> même la taille de la police que je trouve trop grande

Et du coup, rebelotte avec card-mod :

```auto
type: 'custom:meteofrance-raininhourforecast'
entity: sensor.<ma-ville>_next_rain
style: |
  :host {
    --ha-card-header-font-size: 15px;
  }
  .card-header {
    padding: 12px 16px 0px;
  }

```

 ![image](https://forum.hacf.fr/uploads/default/original/2X/2/24c7b946253307118aa585c8dea19f0d48ecb728.png)

Encore merci pour le partage @vdomos 👍

---

_[View the full topic](https://forum.hacf.fr/t/carte-meteofrance-weather-alert-et-next-rain-cards/1250)._
