Skip to main content

Column

The Column block is a single-column container used to divide a parent section into multiple columns. It supports all @theme child blocks.

Column block settings
  • Column class: Custom CSS class applied to the column container. For usage, see: Blocks → Overview → General Settings.
  • Background: Sets background color for the column.
  • Or, use image: Optional background image instead of color.
  • Enable background fixed: Toggles whether background scrolls with content or stays fixed (parallax effect).
  • Column width: Controls horizontal size of the column as a percentage of its parent container.
  • Enable sticky top: Makes the column stick to the top of the viewport when scrolling.
  • Z-index: Layering order for this column relative to others on the page.
  • Child element display: Defines how child elements inside the column are laid out (Flexbox control).
    • d-block → Forces children to behave as block-level elements (display: block). Each child starts on a new line and takes full width.
    • d-inline-block → Children behave as inline-block (display: inline-block). They flow horizontally like text but can have width/height/padding/margin.
    • d-flex → Enables Flexbox layout (display: flex). Children become flex items — allows powerful alignment, distribution, and responsive reordering via other flex controls (direction, justify-content, align-items, etc.).
    • d-inline-flex → Same as d-flex, but the container itself behaves as an inline element (useful when embedding flexible layouts within text or inline contexts).
  • Display direction: Axis along which child elements are arranged (when Flexbox is active).
    • no set: Inherits default (usually row) , row (horizontal), column (vertical) : Critical for mobile-first or stacked layouts.
  • Horizontal alignment: Aligns child elements horizontally within the column (Flexbox justify-content).
    • no set → No explicit justification; inherits default (usually flex-start).
    • left → Equivalent to flex-start → All children aligned to the left edge.
    • center → Children centered horizontally within the container.
    • right → Equivalent to flex-end → All children aligned to the right edge.
    • between ← Selected → Space between items, no space on edges.
  • Vertical alignment: Aligns child elements vertically within the column (Flexbox align-items).
    • top → Equivalent to flex-start → Children align to the top edge of the container.
    • center → Children centered vertically within the container.
    • bottom → Equivalent to flex-end → Children align to the bottom edge.
    • stretch ← Default if not set → Children stretch to fill the full height of the container (unless they have explicit height/width constraints).