You can, you need the same number of cells on each row, so you need to break down the row into something thatās divisible by every split you want to make. It can get very messy, very quickly.
I tend to try and stick to either 50%, 25%, or (at a push) 20% cells. 20% would make it easy to do 20/80 and 60/40 on different rows.
Iāve never tried, controlling height does seem tricker, especially if you want it to flex for different screen sizes. Problem is that because the browser scrolls thereās not a finite 100%.
Thanks. But, i wonāt even try to figure out how and where to insert your ātopā¦ā lines, since, as you suggested, i managed to do something with two layout cards.
Yeah the only way it seems to be to mess with the widths until it fits, not great but will do the job.
It will be for a 1080p screen so it would be cool if you can specific that somehow
Hi Steve, have you managed to solve your problem? Iām struggling with exactly the same thing. I just want a very simple layout where the first column is a bit smaller than the other columns. But I also want the cards to appear right underneath each other in the different rows. So no grid for the rows. I just canāt get it done. Any help would be highly appreciated!
PS: What seems to work is to place all cards in one column into a vertical stack. But this should not be the only solution.
ā¦it should do the trick! I think its adding some double padding by using grid for the main layout and then layout card inside of it. Something like that.
@stratotally
I went to try that out and forgot I had changed that tab around and tossed the layout-card. I will give a another shot at some point though.
https://my nabu casa number .ui.nabu.casa/hacsfiles/lovelace-layout-card/layout-card.js?hacstag=156434866244:13:3316 TypeError: undefined is not an object (evaluating āthis._observer.disconnectā)
Is there the possibility to specify a min-width? When resizing the window, it currently adds another column too early, having the other columns with too low width, so content partly does not fit into its cards.
I just see a max width and a fixed width. Or what would be the right approach to ensure that columns do not become too small?
Second question, I see that the parameter min_height is not mentioned anymore for the integration as available parameter, but it is still being considered by it (layout is different with or without this parameter). So is this now an undocumented feature?
I love this layout-card, even for me that is a hopeless homeautomation enthusiast without any coding konwledge this is dead simple.
But, the most painful thing, which is a showstopper for the moment. Why canāt I cast this to a Nest Hub Max? I have seen in this thread that other people have experienced this as well, as far as 4 years back. Any solution?
Is there a way to set the column where to place a card
view_layout:
column: 3
depending on the number of columns displayd? So if 3 then 3, if 2 then 2. In general to most right one. Via conditions or templates or .?
Or/And it there a possibility in grid view to have not really a grid, but columns or more than one card per frid slot. So that I and define it with media queries as I want?
I need some help here. I have gone through this post and the CSS Guide, and I canāt quite figure out how to make this work.
I want this logbook entry (which is part of a vertical stack with a header and footer image card) to show up in square 7 in exactly the right place. Once I get it in the right place, I will blank out the background behind it. I plan to do the same with more cards, buttons, etc once I get this first thing in the right place.
No matter what I do, this card is locked in position 7. Thatās good. Itās just that the grid square doesnt show up where CSS should be putting it. Itās filling almost half the page width and almost half of the height.
With the gap cards in place, everything shows up with the correct general arrangement, but the cards just donāt go inside of and fill their grids. The first column should be a bit smaller, the middle, very small, and the last, most of the page. The row heights arenāt working either. Everything is showing up equal in width. I have tried everything with no luck.
Iām having a lot of trouble here. I have tried various variations of this but I canāt seem to get it working. I am trying to have 3 column, but nothing seems to work.
Trying to remove gaps in the layout-card. I want to use the layout-card (right) instead of the stack-in-card (left). I want the layout-card to look just like the stack-in-card without the gaps and possibly with a background & border. Tried everything I could find, I canāt get it. This is the layout-card yaml: