In older Masonary views there was a simple bit of added config to set column number and width of each, e.g.
width: 400
max_cols: 3
I want to acheive similar with sections, but the settings don’t recognise that config after a covert action. Can the same be acheived in another way for section view?
A search revealed that some questions like mine are being asked but there seem to be few, if any, answers.
Thanks in advance for any advice.
It was supported in custom:layout-card, not in a stock masonry view, right?
I just checked and found an old layout that works, with a type of ‘Horizontal (layout-card)’. That has the code lines I mentioned. You are right that it wasn’t a stock masonary card.
To add some clarity:
The thread is called “resizing cards within” - which could be about:
- Resizing vertically dynamically if a card’s height is changed (can happen to a stock markdown, entity-filer or custom auto-entities, …).
- Setting a STATIC width for columns (your “width: xxx” example).
- Setting a STATIC number of columns (your “max_cols: xxx” example).
So, what do you want to achieve? (honestly myself have no idea how to do it with sections - not using them)
So I thought that adding the two code lines inside my question text would be enough. I’m trying to set the width of cards within the sections or an equivalent. E.g. I’d like three sections across my page, each one to have one card that is 400 wide.