Group
On this page
The Group block is a foundational layout container in Alembiq that leverages Shopify’s nested block architecture. It allows you to bundle multiple independent child blocks—such as a Subtitle, Heading, Text, Countdown timer, and dual Call-to-Action Buttons—into a single, unified layout unit.
Using Group blocks keeps your page layouts organized and modular. Instead of managing loose elements across a section, grouping related blocks ensures they move, align, and stack together as a cohesive component when arranged in the Theme Editor.
1. How Nested Groups Work
When you add a Group block to a compatible section (such as Slideshow, Banner, Video, Multicolumn, or Custom Section), it acts as an open, flexible structural container:
- Add Child Blocks: Click (+) Add block indented directly under the Group block in the Theme Editor sidebar to insert any Universal Theme Block or App Block.
- Unified Reordering: Drag and drop individual blocks within the group using the drag handle (
⋮⋮), or move the entire Group up and down within the parent section as a single element. - Responsive Layout: Child blocks inside the group maintain uniform spacing and adapt automatically across desktop and mobile devices.
2. Block Settings
Click on the Group block in the Theme Editor sidebar to customize its structural flow and alignment:
| Setting Name | Type | Options | Default | Description |
|---|---|---|---|---|
| Direction | Dropdown | Vertical, Horizontal | Vertical | Controls the layout orientation of child blocks nested inside this group. |
| Content position | Dropdown | Auto, Space between, Start (Left), Center, End (Right) | Auto | Adjusts horizontal alignment and spacing distribution for horizontal groups. |
3. Direction & Positioning Guidance
Vertical Direction
- Stacks all nested child blocks on top of each other with consistent vertical spacing.
- Best For: Creating clean typographic lockups (e.g., Subtitle → Heading → Fragrance Description).
Horizontal Direction
- Arranges nested child blocks side-by-side in a responsive row, wrapping naturally on mobile screens.
- Best For:
- Placing Dual Action Buttons side-by-side (e.g., “Explore Pure Attars” next to “Discover Eau de Parfum”).
- Positioning an artisanal trust badge Image beside a checkout Button.
- Aligning a live Countdown timer alongside a private reserve launch headline.
Content Position Options
When using Horizontal direction, you can refine how elements are distributed:
- Auto: Natural content flow.
- Space between: Pushes the first and last child elements to opposite edges of the container.
- Start (Left): Aligns all child blocks to the left.
- Center: Centers all nested elements within the row.
- End (Right): Aligns all child blocks to the right.
4. Supported Child Blocks Inside a Group
You can nest any of the following elements inside a Group block:
- Heading: Cascade-animated headline titles.
- Subtitle: Category eyebrow kickers (e.g., “Private Reserve” or “Limited Harvest”).
- Text: Descriptive body copy with opacity controls.
- Rich Text: Formatted inline copy with bold accents and links.
- Button: Conversion buttons with hover effects and directional arrows.
- Countdown: Live ticking timer for private reserve drops or boutique openings.
- Image: Flacon macro photography, brand crests, or botanical certifications.
- App Blocks: Third-party review stars, sample request widgets, or loyalty tags.
Step-by-Step: Creating Side-by-Side Dual Buttons
To place two buttons side-by-side within a hero banner or slideshow:
- In the parent section (e.g., Banner or Slideshow), click (+) Add block and choose Group.
- Click on the newly created Group block and set Direction to Horizontal.
- Under the Group block, click (+) Add block and select Button:
- Button label: Explore Pure Attars
- Button style: Primary button
- Under the same Group block, click (+) Add block and select a second Button:
- Button label: Discover Eau de Parfum
- Button style: Secondary button
Both buttons will now sit side-by-side with balanced spacing on desktop screens and wrap neatly on mobile devices.

Best Practices
- Private Reserve Announcement Pod:
Create a vertical Group containing a Subtitle (“Private Reserve”), a Heading (“ROYAL CAMBODIAN OUD”), and a Countdown block. This keeps the headline and launch clock visually locked together as a single announcement card. - Dual-Category Exploration in Hero Banners:
Use a horizontal Group with two buttons to segment incoming visitors immediately: one directing to pure oil attars and the other to spray flacons. - Pair Brand Seals with Action Buttons:
In a horizontal Group, place a small artisanal certification icon beside an “Order Sample Flacon” button to provide instant quality reassurance on purchase-intent banners.
Was this article helpful?
Thanks for the feedback.
Still need help?
Can't find what you're looking for? Send us a message and we'll help you out.