You can use this extension for adding an easy to use Grid which are Framework independently.
It's pre-configured for Bootstrap 3, 4 and 5.
Important: The Bootstrap CSS/JS is not included
There are Grid options to choose for an TYPO3 editor. Something like (e.g. two column)
- 50/50
- 33/66
- 25/75
This work for
- 1 column grid
- 2 column grid
- 3 column grid
- 4 column grid
- Install the extension container.
- Install the extension grid_for_container
- Include the static template
- Be happy with an easy way to use Grids in TYPO3 :)
composer require schmidtwebmedia/grid-for-container
You can customize the output in frontend and change the framework or add more options for Grid ratio. And change the path to JSON Config file in extension settings.
Please use following structure of json file:
{
"cols": [
{
"onecol": [
{
"label": "",
"class": [
"",
""
]
}
],
"twocol": [
{
"label": "",
"class": [
"",
""
]
}
],
"threecol": [
{
"label": "",
"class": [
"",
"",
""
]
}
],
"fourthcol": [
{
"label": "",
"class": [
"",
"",
"",
""
]
}
]
}
],
"row": [
{
"class": ""
}
]
}