Stacked collections
This guide describes the Stacked Collections section.
Use this section to display collections, each with its own heading, background image, and related products. The collections are arranged in a stacked, accordion-like layout that highlights one collection at a time while keeping the others partially visible.
Demo Example:
A Stacked Collections section displayed on the homepage, featuring three collections. Each collection includes a main collection heading, a background image, and two related products.
How to access the Stacked collections
Access this section through the theme customizer:
- Navigate to Online Store > Themes
- Select “Customize” on your active theme
- On any theme template, click “Add section”
- Search and select “Stacked collections”
Note: Section cannot be added to the Password page.
To insert a new section between existing ones, follow the steps in the article "Sections and blocks" and locate the section titled “How to add a section”.
How to configure the Stacked collections
Basic Components
The “Stacked collections” section consists of two primary components:
- General settings – These control the overall settings of the section.
- Block – Each block has its own individual settings.
Available block types include:
- Collection. To learn about all available block settings, see the related article "Collection"
To insert a new block between existing ones or to add a block when none have been added yet, refer to the article "Sections and blocks" and locate the section titled “How to add a block”.
General settings
Settings | Description |
Layout |
|
Heading | Display main title of the section. In the top menu of the field, you can find options to customize it, such as making it bold or italic. Furthermore, you can click the dynamic source button to insert a dynamic source as the title of the section. |
Heading size | Select heading size:
|
Description | Optional text below the heading to provide more details. |
Description size | Select description size:
|
Heading alignment | Align the heading (with or without description) horizontally within the section:
|
Maximum products to show | Set the maximum number of products that will be displayed in this section. The range is from 2 to 16 products. |
Number of columns on desktop | The “Number of columns on desktop” setting allows you to select the number of columns in which your content will be displayed on larger screens, and on tablets. You can select from 1 to 4. |
Color scheme | Select a color scheme from the list and customize it with appropriate colors for the whole section. Applying a color scheme automatically updates all related colors based on the settings defined in the theme's color schemes. |
Product card
Setting | Description |
Image ratio | The “Image ratio” setting allows you to control how images are displayed on your website based on their width-to-height ratio. You have several options to choose from:
|
Show gallery preview | Enable this option to display a preview of the product’s image gallery on hover. This feature works only if the product has more than one image, and will display a maximum of three images. |
Show type | Click “Show type” to display the product type on product cards in this section. Note: The product type must first be added on the product page in the admin. |
Show vendor | Click “Show vendor” to display the product vendor on product cards in this section. Note: The product vendor must first be added on the product page in the admin. |
Show product rating | Displays the average product rating in stars with the number of reviews in parenthesis, for example: ★★★★★ (8). Also requires a product review app such as Shopify Product Reviews, and Metafield definitions for reviews.rating_count and reviews.rating. |
Quick add | If you activate the Quick add option, then your customers can add an item to their cart from the product card. Choose from the following options:
|
Show color swatch | Enable the toggle to show color swatches on product in the section. |
Swatch variant name | f the variant option name on the product page differs from the default “Color”, enter the custom name here to ensure swatches are displayed correctly on product cards. |
Note: To add color swatches, see the article Creating and editing product and locate the “Add Color Swatches” section.
Mobile layout
Setting | Description |
Number of columns on mobile | You can set a distinct column layout for mobile devices. Choose between:
|
Section padding
Setting | Description |
Top padding | The 'Top padding' setting allows you to adjust the amount of space at the top of the section using a slider. |
Bottom padding | The 'Bottom padding' setting functions similarly to the “Section top padding” setting, but controls the space at the bottom of the section. |
Top padding mobile | The 'Top padding mobile' setting allows you to adjust the amount of space at the top of the section specifically for mobile devices, using a slider. |
Bottom padding mobile | The 'Bottom padding mobile' setting works similarly to the 'Top padding mobile' setting but controls the space at the bottom of the section for mobile devices. |