Card for showing Liquids (fluid-level-background-card)

Hi! I’m a bit stuck… I’m not able to change the font size of the value.
I want to show “-4890” but it’s only showing a few caracters.
2024-11-29 22_16_15-Overzicht – Home Assistant
I allready modified the font size but it’s not changing anything.

card_mod:
          style: |
            ha-card {
              --ha-card-header-font-size: 13px;
              height: 225px !important;
            }
            .card-header {
             justify-content: center !important;
            }
            .name {
             overflow: unset !important;
            }

Thanks

value is negative. -4.89
and also paste complete template code. and if you just want to change the font-size kindly read card-mod docs

Resolved!
I had to enter “important!” when changing font size…

1 Like

Thanks alot for share , would you upload the png file for the tank .thanks

Sure, but I also got this here :
https://community.home-assistant.io/t/card-for-showing-liquids-fluid-level-background-card/758558/6?u=donder24

can you share cylinder3.png pls

can share the tank image.png
pls