Columns #718
-
I have problem with columns and 12 / 14 column spec Scenario: First is component HEADING: wrapper offset 1
To get in same position i need to play with column gap....i need to put 50... |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 16 replies
-
To preface, you should avoid nesting Columns blocks inside other Columns block, as it adds unnecessary HTML elements. Regarding the number of columns - in the global manifest you can set the total number of the columns in your project, so 13 might work better for you. If it's a very specific layout, making a custom block could also be a viable solution. |
Beta Was this translation helpful? Give feedback.
-
wait i have link, you can see below services... three boxes blue |
Beta Was this translation helpful? Give feedback.
-
In that case, to ensure perfect alignment, you could place the heading also inside the same Columns block, and have its containing Column span full width. Then, all the columns you add below will just wrap to the lines below it. |
Beta Was this translation helpful? Give feedback.
-
a yea...to much |
Beta Was this translation helpful? Give feedback.
-
But you see now example of use. |
Beta Was this translation helpful? Give feedback.
-
Yup, the example is clear now. With slight modifications within the Columns styles and options you can really easily achieve columns without gutters ("12-column columns") :) |
Beta Was this translation helpful? Give feedback.
-
i want to use 14 and 12 columns option. Why to have restriction? |
Beta Was this translation helpful? Give feedback.
-
In generateWidthOffsetRangeSliderConfig you don't have includeGutters |
Beta Was this translation helpful? Give feedback.
-
Thank you, @marijang, for your invaluable input on this ticket. However, as Goran mentioned, this is just a boilerplate. Once you've copied the blocks into your project, you can edit, update, delete, or add anything you'd like. So, there's no need to complicate things any further. From the conversation, it seems like there are no bugs on this ticket, just suggestions. Goran confirmed that everything is okay with the block, so I will be closing this issue. Feel free to open a PR or make a fork of this setup and create the boilerplate that suits your needs. |
Beta Was this translation helpful? Give feedback.
Yup, the example is clear now.
With slight modifications within the Columns styles and options you can really easily achieve columns without gutters ("12-column columns") :)