Bootstrap Grid in Wiki Syntax | |
Tiki has a legacy wiki plugin, Split, that creates an HTML table to provide columns and cells, but using tables for this purpose has been a deprecated practice for years. Unless there is a compelling reason to use a table, divs should be used instead. |
Grid basics | |
Bootstrap, by default, uses a grid that is 12 units wide. Columns can be specified to be the width of from one to 12 of these units. (The columns' widths are a percentage of the width of their container.) For more information about the Bootstrap grid itself, see https://getbootstrap.com/css/#grid. Examples are shown here: https://getbootstrap.com/examples/grid/. Not only width, but visibility/invisibility per display size can also be specified. |
Gridding in Tiki | |
The Tiki site (version 13 or later) overall uses this kind of grid to position left and/or right columns and the main column. Then, within the site, in the module zones as well as any area where a text editor is used, contents can be placed in grid rows and columns. The grid is made with HTML By one method or another, a For example, Copy to clipboard
This is a col-sm-6 div. A col-sm-3 div Another col-sm-3 div
Copy to clipboard
|
This is a col-sm-6 div. | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. |
A col-sm-3 div | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. |
Another col-sm-3 div | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.
Copy to clipboard
|
Top Pages | |
|