
The Container block is a fundamental building block that serves as a flexible wrapper for organizing and styling content. It can hold any theme or app blocks and provides extensive customization options for spacing, colors, borders, backgrounds, positioning, and layout. Think of it as a versatile box that can be styled in countless ways to group related content, create visual sections, add backgrounds, and control how content appears and behaves on your pages.
The Container block is used extensively throughout the theme to create structured layouts, organize content, and apply consistent styling to groups of blocks. It's the foundation for building complex layouts while maintaining flexibility and design consistency.
The following blocks can be nested within this block:
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals 14 advanced options including top spacing, bottom spacing, and more | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| URL | Optional URL to make the entire container clickable | URL input |
| Enable background image or video | Enables background image or video settings | Checkbox (default: false) |
| Image background desktop | Desktop background image | Image picker |
| Image background mobile | Mobile background image | Image picker |
| Video background | Background video | Video picker |
| Show video on mobile | Displays video on mobile devices | Checkbox (default: true) |
| Show entire image | Shows the full image without cropping | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Top spacing | Spacing above the container | 0 - 300 px (default: 0) Visible when Show advanced settings is on |
| Bottom spacing | Spacing below the container | 0 - 300 px (default: 0) Visible when Show advanced settings is on |
| Enable horizontal padding | Adds horizontal padding inside the container | Checkbox (default: false) |
| Enable vertical padding | Adds vertical padding inside the container | Checkbox (default: false) |
| Enable margin | Adds margin around the container | Checkbox (default: false) |
| Gap size | Spacing between child blocks | • None |
| Setting | Description | Options |
|---|---|---|
| Color scheme | Controls the background color scheme | • Body (default) |
| Border color | Controls the border color | • Body |
| Enable color difference | Applies color blend mode for overlay effects | Checkbox (default: false) Visible when Show advanced settings is on |
| Setting | Description | Options |
|---|---|---|
| Border position | Controls which sides have borders | • None (default) |
| Radius | Controls the border radius | • None |
| Enable crop | Clips content that overflows the container | Checkbox (default: true) Visible when Show advanced settings is on |
| Enable shadow | Adds a drop shadow to the container | Checkbox (default: false) Visible when Show advanced settings is on |
| Setting | Description | Options |
|---|---|---|
| Width | Controls the width of the container | 5 - 100 % (default: 100) |
| Margin | Outer margin around the container | • Default Visible when Show advanced settings is on |
| Minimum height | Minimum height of the container | 0 - 1200 px (default: 0) |
| Enable height fill | Fills the container to the height of the parent | Checkbox (default: true) |
| Enable overlay | Positions the container as an absolute overlay | Checkbox (default: false) Visible when Show advanced settings is on |
| Show on hover | Only displays the container on hover | Checkbox (default: false) Visible when Show advanced settings is on |
| Enable block elevation | Increases z-index for sticky positioning | Checkbox (default: false) Visible when Show advanced settings is on |
| Enable sticky layout | Makes the container stick to viewport while scrolling | Checkbox (default: false) Visible when Show advanced settings is on |
| Sticky position | Position where the container sticks | • None (default) Visible when Show advanced settings is on and Enable sticky layout is on |
| Vertical alignment | Controls vertical alignment of content | • Top (default) |
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
| Load animation | Animation when the block first loads | • None (default) Visible when Show advanced settings is on and Scroll animation is None |
| Scroll animation | Adds scroll-based animations to the block | • None (default) Visible when Show advanced settings is on and Load animation is None |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.