Align card to the right

I have a couple of picture cards and the one with the green section on the top, I want to align to the right so that it’s closer to the other one. I’ve tried all sorts including setting a grid and trying to use “column_width” but I think that parameter only works within a custom layout card addon and so I couldn’t force the column widths. This seems to be the way that many people have gone, in the various conversations I’ve been reading, but I thought I’d ask here in case something has changed, because alignment seems to be a hot topic and maybe something has been added since the conversations I’ve been reading.


I use dummy buttons in grids - you can assign a theme to the buttons making the background and the border transparent, so they appear as empty space.

image

  # Theme changes for transparent buttons
  
  card-background-color: rgba(0,0,0,0)
  ha-card-border-color: rgba(0,0,0,0)
  ha-card-border-radius: "0px"
  ha-card-border-width: "0px"
1 Like

That’s brilliant.

1 Like