# Product tabs ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(5\)_KmF7wyXA.jpg) Show products from several collections in one section, with one tab per collection, so customers can switch between categories without leaving the page. ## Presets The Product tabs section includes two presets: * **Product tabs: Grid** — displays the product cards of each tab in rows. * **Product tabs: Carousel** — displays the product 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. ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(6\)_3mJuXiuX.jpg) ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(5\)_KmF7wyXA.jpg) ## How to customize the Product 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 **Product tabs: Grid** or **Product tabs: Carousel**. 4. Click a **Collection** block to set up one tab. To add another tab, click **Add block** under the section and select **Collection**. 5. Click **Select** next to **Collection** and choose the collection for this tab. 6. Enter the tab label in **Title**. 7. Repeat steps 4–6 for each tab. 8. Configure the layout, spacing, and mobile display. 9. 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 product 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. | | **Product count** | Sets how many products are shown in each tab. | **1–16 products**. | | **Type** | Determines how product cards are displayed in each tab. | **Grid** or **Carousel**. | | **Columns** | Sets the number of product cards displayed per row on larger screens. | **2–8 columns**. | | **Column gap** | Controls the horizontal spacing between product cards. | **0–100px**. | | **Row gap** | Controls the vertical space between rows of cards. | **0–100px**.

*Available when **Type** is set to **Grid**.* |
### Mobile layout Controls how the section appears on mobile devices. | Setting | Description | Options | | -------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | **Enable swipe on mobile** | Controls whether customers can swipe horizontally through product cards on mobile. | **On** or **Off**. | | **Mobile columns** | Sets the number of product cards displayed per row on mobile. | **1 column** or **2 columns**. | | **Horizontal gap** | Controls the horizontal space between product 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 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 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**. |
### 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 **Collection** block creates one tab in the section. Tabs follow the order of the blocks in the theme editor. ### Collection | Setting | Description | Options | | -------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------ | | **Collection** | Selects the collection whose products are shown in this tab. | Select a collection from your store. | | **Title** | Sets the label customers click to open this tab. | Enter your text.

*Leave blank to use the collection's title.* |
To remove a tab, open its **Collection** block and click **Remove block**. To change how the product cards look, go to **Theme settings > Product cards**. Learn more in [Product cards](https://docs.foxecom.com/pebble-theme/theme-settings/product-cards).