Container

Creates a full-width section with a Foundation grid container inside it.

Use this page as both implementation documentation and a visual regression fixture. Compare the editor canvas with the published page at every responsive breakpoint.


Basic example

Editable sample content for comparing the editor and front end.


Option examples

Content widths

Fixed, fluid, and full-width inner containers.

Fixed width

Fluid width

Full width

Configured colors

Every theme background color paired with a readable text color.

Base

Contrast

Primary

Secondary

Success

Warning

Alert

Light

Spacing scale

Configured padding values 0 through 4. Top and bottom margins use the same scale.

Padding 0

Padding 1

Padding 2

Padding 3

Padding 4

Image backgrounds

Layer a transparent image over a configured color, or add gentle scroll movement.

Transparent image over color

The solid theme color remains visible through the transparent image.

Scrolling image

The decorative image moves gently while this section scrolls into view.


Available options

OptionPurpose and values
Container widthDefault, fluid, or full-width content.
Background colorSelects a configured theme color class, visible behind transparent images.
Background imageOptional decorative image from the media library.
Image opacity0–100% in 10% steps.
Image fit and positionCover or contain, positioned center, top, bottom, left, or right.
Scroll effectOptional parallax movement; respects reduced-motion preferences.
Image loadingLazy by default; eager for a first-screen section.
Text colorSelects a configured theme color class.
PaddingFoundation spacing scale.
Top/bottom marginFoundation spacing scale.
AdvancedHTML anchor and additional CSS classes are available when supported by the block.

Editor workflow

  • Select the outer component to configure system-wide behavior in the block sidebar.
  • Select a nested item to configure content-specific behavior.
  • Use List View to add, reorder, duplicate, or remove nested items.
  • Preview desktop, tablet, and mobile widths before publishing.

Verification checklist

  • Editor and front-end appearance match.
  • Keyboard navigation and visible focus states work.
  • Text, labels, and controls remain readable at 200% zoom.
  • Small, medium, and large layouts behave as documented.
  • Saved markup contains no unexpected inline styling or invalid blocks.