How to use bootstrap with 16 or 24 columns

后端 未结 10 752
轮回少年
轮回少年 2020-11-29 03:39

I need some help setting bootstrap 2.0.4 to be 16 or 24 column instead of the default 12 columns i can\'t understand what am i doing wrong i tried the customize option on th

10条回答
  •  暖寄归人
    2020-11-29 04:01

    Edit: Creating grids with custom number of columns has been restored, and can be done on Bootstrap's customization page.

    For reasons unknown to me, the latest version of Bootstrap (3.0.0/1) doesn't allow you to create grid different than 12 columns, which is a big shame.

    What we can do currently, and which will in turn allow for creating more customized bootstrap packages, is to set up your own Bootstrap customizer.

    Edit: I just tried it. Installing all the dependencies went quite smooth while sticking to guidelines on their Docs GitHub page.

    Sample generated 24 column grid

    Editor required inserting some code along with jsfiddle link. There's no point in pasting anything though.
    

提交回复
热议问题