# Collection tabs ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(12\)_xYn1mGmi.jpg) Group your collections into tabs so customers can switch between categories without scrolling through the page. For example, a **Boy's** tab can show your Sweaters, Sets, and Outerwear collections side by side. ## Presets The Collection tabs section includes two presets: * **Collection tabs: Grid** — displays the collection cards of each tab in rows. * **Collection tabs: Carousel** — displays the collection cards of each tab in a horizontally navigable carousel. Both presets use the same section settings. You can switch between them at any time using the **Type** setting. ![Collection tabs: Grid](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(13\)_Cy1cobNt.jpg) ![Collection tabs: Carousel](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(12\)_xYn1mGmi.jpg) ## How to customize the Collection tabs 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 **Collection tabs: Grid** or **Collection tabs: Carousel**. 4. Click a **Collections** block to set up one tab. 5. Click **Change** and select the collections to show in this tab. 6. Enter the label customers will see in **Tab name**. 7. Repeat steps 4–6 for each tab. Add a new **Collections** block for every extra tab you need. 8. Configure the layout, card style, spacing, and mobile display. 9. Customize the section header if needed. 10. Click **Save**. ## Section settings ### Section header Controls the heading displayed above the tabs. | Setting | Description | Options | | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------- | | **Heading** | The main title displayed at the top of the section. To add an animated highlight, wrap the text in italics using the **I** button in the editor. | Enter your text. | | **Highlight style** | Applies an animated highlight effect to the italic text in the heading. | **None, Standard, Wavy underline,** or **Solid background**. | | **Preset** | Selects the text style used for the heading. | Choose a preset style | | **Animation type** | Controls how the heading appears when customers scroll to the section. | **None, Fade in, Fade up, Slide in (left),** or **Slide in (right)**. | | **Animation delay (ms)** | Sets how long to wait before the heading animation starts. | **0–2000ms**. |
Leave **Highlight style** set to **None** if your heading has no italic text — the effect only applies to text in italics. ### Layout Controls how collection cards are arranged on desktop and larger screens. | Setting | Description | Options | | ------------------ | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- | | **Container** | Controls the width of the section content. | **Full:** Uses the available page width.

**Fixed:** Keeps the content within the theme's fixed container width. | | **Type** | Determines how collection cards are displayed in each tab. | **Grid** or **Carousel**. | | **Columns** | Sets the number of collection cards displayed per row on larger screens. | **2–8 columns**. | | **Horizontal gap** | Controls the horizontal spacing between collection cards. | **0–100px**. | | **Vertical gap** | Controls the vertical space between rows of cards. | **0–100px**.

*Available when **Type** is set to **Grid**.* |
### Carousel settings *This setting is available when **Type** is set to **Carousel**.* | Setting | Description | Options | | ---------------- | ----------------------------------------------- | :------------------------ | | **Control type** | Controls the navigation shown for the carousel. | **Default** and **Float** |
![image](https://docs-assets.foxecom.app/pebble-theme/image_CbLYaQMq.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_UCEYC0XD.png) ### Card settings Controls the content displayed on each collection card. | Setting | Description | Options | | ---------------------- | ------------------------------------------------------ | ------------------------------- | | **Alignment** | Controls the alignment of the collection card content. | **Left, Center,** or **Right**. | | **Show product count** | Displays the number of products in each collection. | **On** or **Off**. |
![image](https://docs-assets.foxecom.app/pebble-theme/image_PjK01cgn.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_necq4CZq.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_WNBDOYhe.png) ### Mobile layout Controls how the Collection tabs section appears on mobile devices. | Setting | Description | Options | | -------------------------- | ------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ | | **Enable swipe on mobile** | Controls whether customers can swipe horizontally through collection cards on mobile. | **On** or **Off**. | | **Custom column width** | Lets you manually control the width of each collection card on mobile. | **On** or **Off**.

*Available when **Enable swipe on mobile** is turned on.* | | **Custom width** | Sets the width of each collection card on mobile. | **20–90%**.

*Available when **Custom column width** is turned on.* | | **Mobile columns** | Sets the number of collection cards displayed per row on mobile. | **1 column** or **2 columns**.

*Available when **Custom column width** is turned off.* | | **Horizontal gap** | Controls the horizontal space between collection cards on mobile. | **0–100px**. | | **Vertical gap** | Controls the vertical space between rows of cards on mobile. | **0–100px**.

*Available when **Enable swipe on mobile** is turned off.* |
### Appearance Controls the visual style of the Collection tabs section. | Setting | Description | Options | | ------------------ | ------------------------------------------------ | :---------------------------------------------------------------------- | | **Color scheme** | Applies a theme color scheme to the section. | 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 separately for desktop and mobile. | Setting | Description | Options | | ----------- | ------------------------------------------------------------------------- | :------------------------------------------------------------------------- | | **Devices** | Selects which device-specific padding values you are editing. | **Desktop** or **Mobile**. | | **Top** | Controls the space above the section content. | **0–100px**. | | **Bottom** | Controls the space below the section content. | **0–100px**. | | **Left** | Controls the space between the content and the left edge of the section. | **0–100px**.

*Available when **Container** is set to **Full**.* | | **Right** | Controls the space between the content and the right edge of the section. | **0–100px**.

*Available when **Container** is set to **Full**.* |
### Advanced | Setting | Description | Options | | ------------------ | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | **Custom columns** | Sets the number of columns for each screen size, separated by commas. | Enter values such as `mb:1,md:2,lg:3,xl:4,xxl:5`.

*Leave blank to use the theme's default column settings.* |
Learn how to write the values in [Custom columns](https://docs.foxecom.com/pebble-theme/global-settings/custom-columns). ## Blocks Each **Collections** block creates one tab in the section. Add one block per tab. Tabs follow the order of the blocks in the theme editor. ### Collections | Setting | Description | Options | | --------------- | -------------------------------------------------------------------------------------- | ------------------------------ | | **Collections** | Selects the collections displayed in this tab. Click **Change** to edit the selection. | Select one or more collections | | **Tab name** | Sets the label customers click to open this tab. | Enter your text. |
To remove a tab, open its **Collections** block and click **Remove block**.