Is it possible to create spacing between badges, according to my red markings in the picture?
1 Like
I’m also trying to figure this out. I’m switching over from Mushroom Chips and I’ve relied heavily on the “Spacer” option to spread things out.
I was able to add spacing by using the Lovelace mod-card. Here’s how:
- Create a new badge.
- Open the YAML editor.
- Replace the content with the following:
type: custom:mod-card card_mod: style: | ha-card { border-style: none !important; width: 3vw; }
If you’re new to CSS, remember you can use any valid unit for width
, such as px
, %
, or vw
(e.g., 10px
or 5%
).
Hope this helps!
1 Like