Add columns/grids in content area
To use columns in the content area,
- Add a new content element
- Choose type Grid Elements > 2 columns, 3 columns, or 4 columns, respectively., for 2, 3 or 4 columns in the content area
- Enter a Header to identify the content area in the CMS backend (doesn't show on frontend page)
- By default, the columns will be of equal width on all screen sizes. To change this behavior, select the appropriate Column 1, Column 2, etc. widths for each Desktop, and optionally also Small devices, Extra small, and Large, screen sizes. The default (unset) state of non-Desktop sizes will "linearize" content into a single column. If the total column widths selected exceeds 100%, the last column(s) may overflow into the next "row."
The contents don't need to consume the same %-width of the screen at all sizes. For example, you might select 33% width for Desktop, 50% for Small screens, and unset (linearize) for extra small so the contents are in 3 columns for medium and large screens, 2 columns for small screens, and 1 column on extra small screens. Nielsen-Norman Group has a video to illustrate grid columns changing behavior as the screen size changes. In any case, what you choose here will depend on the content you are using. Here isn't a universal rule for what to choose, and it may require trial-and-error to see what arrangement works best for the particular type of content you are adding to the page.If you use grids, it's important to test your content on multiple screen widths to ensure that the content doesn't flow in an unusable way on either small, medium, or large screens. You can either preview the page and resize your browser window, or use the TYPO3 View module to set the Width to simulate different size screens.
Add contents to the columns
Once the grid is created, you can add (either add new, or drag existing content elements into a column) contents to the grid.
- Click the +Content button in the appropriate column to insert a new content element in that column
or click an existing content record and drag it to the desired content position.
There is a bug that causes the moved content elements to display twice in the TYPO3 backend only. Previews and published pages correctly display the contents.
Example grid contents
Resize this browser window to see the columns, outlined in blue dashes, resize. Rows are outlined in orange dots.
Column 1
col-md-5 Lorem ipsum dolor sit amet, ea quem inimicus cum, quem persequeris has an. Te eam quidam iuvaret contentiones, nec oratio soleat similique in. Te eam aliquam legendos, pri novum periculis at. Appareat ponderum hendrerit cum at, no graeco graecis sit. Sit te abhorreant intellegam, qui et atqui salutandi, id ignota dictas reformidans usu. Laoreet habemus adipisci ut eum.
Column 2
col-md-5 offset-md-2 Lorem ipsum dolor sit amet, ea quem inimicus cum, quem persequeris has an. Te eam quidam iuvaret contentiones, nec oratio soleat similique in. Te eam aliquam legendos, pri novum periculis at. Appareat ponderum hendrerit cum at, no graeco graecis sit. Sit te abhorreant intellegam, qui et atqui salutandi, id ignota dictas reformidans usu. Laoreet habemus adipisci ut eum.
Column 1
col-md-4 Lorem ipsum dolor sit amet, ea quem inimicus cum, quem persequeris has an. Te eam quidam iuvaret contentiones, nec oratio soleat similique in. Te eam aliquam legendos, pri novum periculis at. Appareat ponderum hendrerit cum at, no graeco graecis sit. Sit te abhorreant intellegam, qui et atqui salutandi, id ignota dictas reformidans usu. Laoreet habemus adipisci ut eum.
Column 2
col-md-4 Eius consul animal his an, mei autem ignota oportere ex. Ad amet natum vix, ius nostrud intellegat et, pri minimum gloriatur in. Duo reque cetero no, copiosae pericula consequuntur an qui. Sit ad delenit praesent, at aperiri consequat pri. Nec at nostrud consectetuer.
Column 3
col-md-4 Ea eam nihil oblique prompta. Vix cu suas solet adipisci, nullam debitis et est. Ei timeam delicatissimi ius, mea iriure volutpat at, vel ex vidisse consetetur. Cu vim decore ocurreret, at has latine aliquip antiopam. Diam dictas aperiri at mel, ut eam autem disputando. Sed no unum sententiae, ex has soluta sapientem. Ius an habeo maiorum imperdiet, eam vidisse propriae an, mel probo justo te.Id his sumo erant consequuntur, suas elaboraret cum id, eam delectus mnesarchum repudiandae ea. Veri volumus concludaturque te cum, eam sint equidem oporteat et. Ad primis inciderint vim. Solet eruditi vocibus duo et. Has id iisque nusquam dolores, nullam melius aperiam te vis, primis maiestatis cum ex. Esse quidam sed ex, nec in odio stet epicuri.
Column 1
col-md-3 col-sm-6 Eam te adhuc complectitur mediocritatem. Ei option postulant sit, eu ignota antiopam sed. Vel et vocent aperiam consulatu, dolores platonem abhorreant has eu. Vitae consul facete mei te.
Column 2
col-md-3 col-sm-6 Qui movet quaestio volutpat in. Et aperiri equidem pri. At per tollit aperiri, sed cu dicta postea tractatos, ancillae salutatus vituperata ne has. Ne tractatos adversarium eum, verterem rationibus vim an, homero dissentias cu sed. Ne cum debet soluta tractatos, eam quot euripidis scriptorem id. Vel eu omnium laboramus, id pro dolorem voluptua molestiae, eos doming lobortis cu. Vis ea duis rebum lobortis, cum audiam postulant definitiones no.
Column 3
col-md-3 col-sm-6 Has in quod minim quaeque, indoctum tractatos aliquando ad sit. Cu unum putant perpetua mei. Pro et homero corpora rationibus, no mea mazim vivendum recusabo, etiam aliquid eam id. Eos gubergren dissentiunt et. Te repudiare liberavisse sea, ne vis harum evertitur. Ne eos dico labore legendos, nec odio assueverit ne.
Column 4
col-md-3 col-sm-6 Ad eum clita neglegentur deterruisset, te est facete omittam suavitate. An audiam copiosae quo. Fastidii maiestatis has eu, tempor accusam epicuri per eu. Duo habeo everti no, ea pri elit pericula, et usu modus augue sensibus.