# Scrolling cards ![image](https://docs-assets.foxecom.app/pebble-theme/scrollingcards_qo45Reew.gif) ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20-%202025-11-25T110437.153_fUr3ctve.jpg) Tell a campaign or brand story while customers scroll: your heading, text, and button stay in the middle, and product cards move past them in a zigzag pattern. Each card shows a product over a large banner image, with a button to shop it. ## How to customize the Scrolling cards 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**. 4. Click a **Product overlay card** inside the **Scrolling cards** block. 5. Click **Select** next to **Product** and choose the product for this card. 6. Click **Select** next to **Image** to add the banner image. 7. Repeat steps 4–6 for each card. 8. Click each **Heading** inside the **Headings** block to edit the scrolling headlines. 9. Click the **Subheading** block to edit the line above the headings. 10. Click the **Text** block to edit the description. 11. Click the **Button** block to set the button label and link. 12. 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 these built-in blocks: **Scrolling cards**, **Headings**, **Subheading**, **Text**, and **Button**. ### Scrolling cards The **Scrolling cards** block holds the cards that move in a zigzag pattern as customers scroll. It has no settings of its own. On mobile, the cards are displayed in a slider that customers can swipe.
![image](https://docs-assets.foxecom.app/pebble-theme/image_BSpiv0GN.png)
To add a card, click **Add block** inside **Scrolling cards** and select **Product overlay card**. #### Product overlay card Each [**Product overlay card**](https://docs.foxecom.com/pebble-theme/theme-blocks/product-overlay-card) shows one product over a banner image, with the product thumbnail, name, price, and a **Shop** button. | Setting | Description | Options | | ------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | | **Product** | Selects the product shown on the card. | Select a product from your store. | | **Aspect ratio** | Controls the product thumbnail proportions. | **Auto, Square (1/1), Portrait (4/5), Portrait (3/4), Landscape (16/9), Landscape (4/3),** or **Landscape (21/9)**. | | **Image** | Sets the banner image on desktop. | Select or upload an image, or click **Explore free images**. | | **Image mobile** | Sets a separate banner image for mobile. | Select or upload an image, or click **Explore free images**. | | **Aspect ratio** (Banner) | Controls the banner proportions on desktop. | **Auto, Square (1/1), Portrait (4/5), Portrait (3/4), Landscape (16/9), Landscape (4/3),** or **Landscape (21/9)**. | | **Aspect ratio mobile** | Controls the banner proportions on mobile. | **Auto, Square (1/1), Portrait (4/5), Portrait (3/4), Landscape (16/9), Landscape (4/3),** or **Landscape (21/9)**. | | **Color scheme** | Sets the color scheme of the product information panel. | Select an available color scheme. | | **Corner radius** | Controls how rounded the card corners are. | **0–32px**. | | **Enable preload image** | Loads the banner image earlier so it appears faster. | **On** or **Off**. |
Turn on **Enable preload image** only for a card that is visible as soon as the page loads. Preloading images farther down the page can slow down the first load. ### Headings ![image](https://docs-assets.foxecom.app/pebble-theme/image_AsHRtorW.png) The **Headings** block holds the headlines that scroll in the middle of the section. It has no settings of its own. The default **Headings** block includes two **Heading** blocks. To add more, click **Add block** inside **Headings** and select one of these blocks: * [**Heading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays a scrolling headline. * [**Subheading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays a short line above or below the heading. * [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays additional descriptions or details. ### Subheading and Text The [**Subheading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text) block shows a short line above the headings, and the [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text) block shows a description below them. ### Button The **Button** block adds a call-to-action button below the text. [*See the **Button block documentation** for all available settings*](https://docs.foxecom.com/pebble-theme/theme-blocks/button). | Setting | Description | Options | | ------------------------------ | -------------------------------------------------- | -------------------------------------------------------------------------- | | **Label** | Sets the button text. | Enter your text. | | **Link** | Sets where the button goes. | Paste a link or search. | | **Style** | Sets the button style. | **Primary, Secondary, Outline,** or **Plain**. | | **Size** | Sets the button size. | **Extra small, Small, Medium,** or **Large**. | | **Icon** | Adds an icon to the button. | Select an icon, such as **Caret right**. | | **Icon only** | Shows only the icon, without the label. | **On** or **Off**. | | **Icon style** | Sets the icon weight. | **Default** or **Solid**. | | **Enable full wide on mobile** | Stretches the button to the full width on mobile. | **On** or **Off**. | | **Type** (Animation) | Sets the entrance animation of the button. | **None, Fade in, Fade up, Slide in (left),** or **Slide in (right)**. | | **Delay (ms)** | Sets how long to wait before the animation starts. | **0–2000ms**.

*Available when **Type** is not set to **None**.* |