Hi guys!
I having a problem I can’t manage to fix. I have four collections in a div-block, which I have set to columns. The problem I have is that it breaks not the way I want it.
On bigger screens one of the headings is falling to the first column, and I always want it to be in the second. On ipad and phone it looks good, and I really want to use it as columns because my costumer wants the site to look like an old magazine. So if I’m using i grid instead, I don’t get the magazine feeling when I make it responsive.
I’ve sketched the list item frames around each of these items. I’m assuming that on these block boundaries is where you would want to allow column breaks to occur.
To prevent columns from breaking inside of your items, you can add a custom CSS style to the list item.
e.g. on the Collection List Item, add a class of no-col-break,
And then drop an HTML embed on the page with this CSS;
Ah, the CSS property name has changed, it’s now just break-inside.
I’ve updated above.
Also you have applied the class to BOTH the Collection List and the Collection Item.
You want it ONLY on the Item, or else you’ll get one long unbroken column.