Skip to main content

Layout: Variable Columns

Hero 5 - Variable column layout for heros.


Category: Templates - Sections - Waterlogic Heros.Layout.
Content Blocks Documentation: https://docs.modmore.com/en/ContentBlocks/v1.x/Layouts.html


You can create a hero area with variable column widths. By defaultdefault, the column widths are 50/50 in width but can be changed using the Bootstrap Column 1 and Bootstrap Column 2 settings. For documentation on changing column widths using Bootstrap classes see http://wldocs.gelstudios.co.uk/books/content-blocks/page/grid-layout 

hero-5-layout.pngVariable-Columns-layout.png

SettingsVariable-Columns-settings.png

Settings
Use as hero?
Use this variable column layout as a Hero section, this adds in-hero classes which adjust the look of the layout across mobile and desktop.
Bootstrap Column 1: 1
Classes by bootstrap for the grid. Defaults to col- https://getbootstrap.com/docs/4.0/layout/grid/

Bootstrap Column 2: 2 Classes by bootstrap for the grid. Defaults to col-12 https://getbootstrap.com/docs/4.0/layout/grid/

Data-UID Attribute:Attribute  Unique data attribute used for referencing the layout.

Show full width?:  Should the section show full width. Using Bootstrap container and container-fluid.

Show Gutters?:  Should the gutters show for this layout.layout? Default to Yes.

Vertical Align?:  Should the content within this layout show vertically aligned. Default to Yes.

Background Colour:Colour  The background colour of the layout. Default to White.

Add background to row? Add the background colour to the section or to the row, if added to the row then rounded corners are added to the section for a stylised effect  Padding Top:Top  Padding top for the layout. Default to 45px.

Padding Bottom:Bottom  Padding bottom for the layout. Default to 45px

Margin Top: Top Margin top for the layout. Default to 60px

Margin Bottom: Bottom

Margin bottom for the layout. Default to 0px

Reverse Mobile Order:Order  Should this layout be reversed on mobile? Useful for alternating 50/50 content layouts.