# Custom columns

**Custom columns** lets you control how many columns are displayed at different screen sizes. Use it to fine-tune responsive layouts for mobile, tablet, laptop, desktop, and larger screens.
## What is a breakpoint?
A **breakpoint** is a screen width where the layout can change to better fit the available space.
For example:
* **md (≥768px)** means the `md` column setting applies when the screen is 768px wide or larger, until a larger breakpoint overrides it.
* On smaller screens, the layout uses the setting defined for a smaller breakpoint.
| Breakpoint | Screen width | Maximum container width |
| ---------- | :----------- | :---------------------- |
| **mb** | ≥576px | 540px |
| **md** | ≥768px | 720px |
| **lg** | ≥992px | 960px |
| **xl** | ≥1200px | 1140px |
| **xxl** | ≥1400px | 1320px |
**Container width** is the maximum width of the main content area inside the page. For example, at the **lg breakpoint (≥992px)**, the content container can be up to **960px wide**.
Breakpoints work from smaller to larger screen sizes. When the screen reaches a larger breakpoint, the column value defined for that breakpoint takes over.
## Settings
Go to the section or block's **Advanced settings** and find **Custom columns**.
| Setting | Description | Options |
| ------------------ | -------------------------------------------------------------------- | --------------------------------------------------------------------- |
| **Custom columns** | Overrides the number of columns displayed at different screen sizes. | Enter values using `breakpoint:number` and separate them with commas. |
For example: `mb:1,md:2,lg:3,xl:4,xxl:5`
This configuration displays:
| Breakpoint | Setting | Column(s) |
| ---------- | ------- | --------- |
| **mb** | `mb:1` | 1 |
| **md** | `md:2` | 2 |
| **lg** | `lg:3` | 3 |
| **xl** | `xl:4` | 4 |
| **xxl** | `xxl:5` | 5 |

You don't need to define every breakpoint. Add only the values you want to customize.
Leave **Custom columns** empty to use the theme's default column settings.
## Supported sections
**Custom columns** is available in the following sections and blocks:
* [Product tabs](https://docs.foxecom.com/pebble-theme/theme-sections/product-tabs)
* [Collection tabs](https://docs.foxecom.com/pebble-theme/theme-sections/collection-tabs)
* [Featured collection](https://docs.foxecom.com/pebble-theme/theme-sections/featured-collection)
* [Collection list](https://docs.foxecom.com/pebble-theme/theme-sections/collection-list)
* [Layout – Grid](https://docs.foxecom.com/pebble-theme/theme-blocks/grid)
## Tips and best practices
For most layouts, use fewer columns on smaller screens and gradually increase the number as more space becomes available.
A balanced starting point for many layouts is `mb:1,md:2,lg:3,xl:4,xxl:4`.
Keep the following in mind:
* Use **1–2 columns** for layouts with large images, longer text, or detailed cards.
* Use **3–4 columns** for most product and collection grids on desktop.
* Use **4–5 columns** when cards are simple and remain easy to scan.
* Preview the layout at different screen sizes after changing the setting.
* Check image proportions, text wrapping, spacing, and button sizes across breakpoints.
Avoid displaying too many columns on smaller screens. Cards can become too narrow, making images, text, and actions harder to view or use.