# Scrolling cards: Layered ![image](https://docs-assets.foxecom.app/pebble-theme/gif_E1FoAVZP.gif) Stack image cards on top of each other as customers scroll, so each card slides over the previous one like a deck. Use it to walk customers through collections, promotions, or a brand story one card at a time. ## How to customize the Scrolling cards: Layered section 1. Open the page where you want to display the section in the theme editor by clicking **Edit theme**. 2. Click **Add section**. 3. Select **Scrolling cards: Layered**. 4. Click the **Section header: Vertical** block to edit the heading content. 5. Click an **Image card** inside the **Scrolling cards** block. 6. Click **Select** next to **Image** to add the card image. 7. Edit the **Text** and **Button** blocks inside the card. 8. Repeat steps 5–7 for each card. 9. Click **Save**. ## Section settings ### Appearance Controls the visual style of the section. | Setting | Description | Options | | ------------------ | ----------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------- | | **Color scheme** | Applies a theme color scheme to the section. Learn more in [Colors](https://docs.foxecom.com/pebble-theme/theme-settings/colors). | Select an available color scheme. | | **Border** | Controls whether the section has an outline. | **None** or **Solid**. | | **Border width** | Controls the thickness of the section border. | **0–10px**.

*Available when **Border** is set to **Solid**.* | | **Border opacity** | Controls the opacity of the section border. | **0–100%**.

*Available when **Border** is set to **Solid**.* | | **Corner radius** | Controls how rounded the section corners appear. | **0–32px**. |
### Padding Controls the top and bottom spacing of the section. | Setting | Description | Options | | ---------- | --------------------------------------------- | :----------- | | **Top** | Controls the space above the section content. | **0–100px**. | | **Bottom** | Controls the space below the section content. | **0–100px**. |
## Blocks The section includes two built-in blocks: **Section header: Vertical** and **Scrolling cards**. To add more content, click **Add block** under the section and select a block. *Learn more about each block type in* [*Theme blocks*](https://docs.foxecom.com/pebble-theme/theme-blocks/overview)*.* ### Section header: Vertical The **Section header: Vertical** block is a [**Group**](https://docs.foxecom.com/pebble-theme/theme-blocks/group) block that holds the heading content above the cards. Use it to arrange the heading, set its width, and add spacing. | Setting | Description | Options | | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | | **Direction** | Controls whether blocks are stacked or placed side by side. | **Vertical** or **Horizontal**. | | **Alignment** | Controls how blocks align within the header. | When **Vertical**: **Left, Center,** or **Right**.

When **Horizontal**: **Left, Center, Right,** or **Space between**. | | **Horizontal gap** | Sets the horizontal space between blocks. | **0–100px**. | | **Vertical gap** | Sets the vertical space between blocks. | **0–100px**. | | **Enable sticky on desktop** | Keeps the header visible while customers scroll on desktop. | **On** or **Off**. | | **Width** | Controls the header width on desktop. | **Fit, Fill,** or **Custom**. | | **Width mobile** | Controls the header width on mobile. | **Fit, Fill,** or **Custom**. | | **Inherit color scheme** | Controls whether the header uses the section's color scheme. | **On** or **Off**. | | **Border** | Adds an outer border around the header. | **None** or **Solid**. | | **Corner radius** | Controls how rounded the header corners are. | **0–32px**. | | **Enable swipe on mobile** | Displays the header items in a swipeable row on mobile. | **On** or **Off**. | | **Column order** | Controls where the header appears on mobile. Lower values, such as `-9`, appear first; higher values, such as `9`, appear last. | Enter an order value. | | **Padding** | Sets the space inside the header, separately for desktop and mobile. | **Top, Bottom, Left,** and **Right**: **0–100px** each. |
[*See the **Group block documentation** for all available settings*](https://docs.foxecom.com/pebble-theme/theme-blocks/group). The default **Section header: Vertical** includes these blocks: * [**Subheading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays a short line above the heading. * [**Heading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays the main title of the section. * [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays additional descriptions or details. To add more, click **Add block** inside **Section header: Vertical** and select any block from the list. Learn more about each block type in [Theme blocks](https://docs.foxecom.com/pebble-theme/theme-blocks/overview). ### Scrolling cards ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(38\)_ufhhjkbi.jpg) The **Scrolling cards** block holds the cards that stack as customers scroll. It has no settings of its own. To add a card, click **Add block** inside **Scrolling cards** and select **Image card**. #### Image card Each [**Image card**](https://docs.foxecom.com/pebble-theme/theme-blocks/image-card) shows an image with text, a button, and an optional label such as **Hot items**. Its settings cover the image, mobile image, media overlay, link, content layout, appearance, label, and image preloading. The default **Image card** includes these blocks: * [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays the tagline, the card title, and the description. The card includes three **Text** blocks by default. * [**Button**](https://docs.foxecom.com/pebble-theme/theme-blocks/button): Displays a call-to-action button. To add more, click **Add block** inside the **Image card**. [*See the **Image card documentation** for all available settings*](https://docs.foxecom.com/pebble-theme/theme-blocks/image-card).