Fifteen Bootstrap columns on homepage? #872
-
I'm trying to understand why the Hyas (and Doks) homepage sections with three columns are each defined by If I change them simply to I'm relatively new to Bootstrap, so my apologies if this is something trivial or a technique I just haven't learned yet. Can someone explain this, please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That's right, I've customized Doks (Hyas is using the defaults) to use 16 columns (I thought it better suiting the layout) instead of 12 — see also: https://github.com/h-enk/doks/blob/master/assets/scss/common/_variables.scss#L90-L96 + the Bootstrap docs: Customizing the grid And, I'm centering the columns in a row using To learn more about customizing columns, see the Bootstrap docs: Columns |
Beta Was this translation helpful? Give feedback.
That's right, I've customized Doks (Hyas is using the defaults) to use 16 columns (I thought it better suiting the layout) instead of 12 — see also: https://github.com/h-enk/doks/blob/master/assets/scss/common/_variables.scss#L90-L96 + the Bootstrap docs: Customizing the grid
And, I'm centering the columns in a row using
justify-content-center
(see also: https://github.com/h-enk/doks/blob/master/layouts/index.html#L20-L33) + the Bootstrap docs: Horizontal alignmentTo learn more about customizing columns, see the Bootstrap docs: Columns