Blocks in grid layouts
Permalink 1 user found helpfulSay you want to allow the editor to decide the width of the block's container to put two blocks next to each other, one is span2 and the other is span10 but maybe somewhere else the same blocks are span6 and span6.
Yes I could use the built in layout option but that would sidestep the utility of using span* to manage different screens etc. Sure I could allow them to enter the span width number and output it in the block but how would that jive with other built in blocks that aren't grid friendly and so on.
Thanks!
For relatively small websites I recommend you to define your layouts in the page template files.
"They also can honor a grid system, so if you define it in your theme you can keep site operators using bootstrap columns, etc."
So in your example, I would have one page type that would have a span2 and a span10 side by side, each with an area to add blocks. Then you could add the custom blocks to those areas and they will size accordingly. Then I would create another page type that had two span6's side by side, also with areas to add blocks.
This is just how I do it personally. I'm sure there are plenty of other ways.