# Cells and grids

{% embed url="<https://youtu.be/fnqLaHHj49g>" %}

The grid is made up of cells, and each element, or group of elements, gets its own cell. In a grid, you can add multiple cells to arrange elements in a specific order and control their size.

Cells and grids are powerful tools to create structured and responsive layouts, ensuring your page looks stunning on any device.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FOqA364vbzmGs9gkVBmFn%2Fcellandgrid-ezgif.com-video-to-gif-converter%20(1).gif?alt=media&#x26;token=e9c3113f-02a5-4442-8af9-a6b3d0e9f701" alt=""><figcaption></figcaption></figure>

## Add a grid to a section

{% hint style="success" %}
**Steps:**

1. Click **Add elements** <img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FKqvedGnvQChzk2ELEVM7%2FPlusCircleIcon%20(1).svg?alt=media&#x26;token=c806485a-0edc-468b-84a8-5873ad69e97d" alt="" data-size="line">on the left side of the Editor or press **E**.
2. Click **Quick add**, locate and drag the **Grid** element to the canvas.

![](https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FPnFt79LwgWR1KuessrXw%2Fimage.png?alt=media\&token=bfdb5869-139b-4bf3-b710-7c9d4511e72c)

or

Click **Layout** in the **Advanced elements** section, select a grid layout you want, and drag it to the canvas.

![](https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FO76QnvdvUft4FyF4xMJm%2Fimage.png?alt=media\&token=5e97fc6a-6778-4582-a6aa-e6df4d3d80c6)
{% endhint %}

## Customize a grid

### Change a grid layout

Customize your grid to get the exact layout you want. You can change the **number of grid columns**, adjust the **cell size**, and the **gap** between them using the Inspector panel.

{% hint style="success" %}
**Steps:**

1. Click the relevant grid.
2. In the **Inspector** panel > **General** tab, locate the **Layout** settings.
3. Change the number of columns (between 1-12 columns).&#x20;

Set the column gap and row gap between the grid cells.

For mobile view, you can enable the cells to be swipeable.
{% endhint %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FWrGYnhYT6mlUkN5cnd2o%2Fimage.png?alt=media&#x26;token=07be0fac-e27f-4dc5-b1bb-746e22cd5a7c" alt=""><figcaption></figcaption></figure>

### Add more cells to the grid

You can add up to 12 cells in a grid.

{% hint style="success" %}
**Steps:**

1. Click the relevant grid.
2. In the **Inspector** panel > **General** tab, locate the **Manage cells** section.
3. Click **Add cell** to add more cell to the selected grid.
   {% endhint %}

{% hint style="info" %}
Easily duplicate or reorder a cell using the **Manage cells** section.
{% endhint %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FP0jTAD27P431y5hd41Bi%2Fimage.png?alt=media&#x26;token=eb5640f9-7334-479b-9689-7261cfffd968" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Your design only applies to the breakpoint you're working on. You should tailor the grid to each breakpoint to ensure the composition of your elements is flawless.
{% endhint %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FduA1QYPwcev6XijD9dfK%2Fimage.png?alt=media&#x26;token=1b7d7364-9ded-4af3-b4ff-d3c1ea83b44f" alt=""><figcaption></figcaption></figure>

### Manage the cell size

Manage the cell size (width and height), or expand it to create a hierarchical grid.&#x20;

{% hint style="success" %}
Steps:

1. Select the relevant cell.
2. In the **Inspector**, locate the **Size** section.
3. Set the column span, row span, width, and height of the cell.

![](https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FiFWm664AaW11IPTXakqA%2Fimage.png?alt=media\&token=774eaaa1-5a64-4e21-8126-4f834af9c1f8)
{% endhint %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FWoA5DI0qMPuMh7htl5Gs%2Fgrid1-ezgif.com-video-to-gif-converter.gif?alt=media&#x26;token=db9985d6-1f04-4c24-ae8d-56b732fb0b26" alt=""><figcaption></figcaption></figure>

For example, in the grid below:

* [Grid layout](#change-a-grid-layout): Columns setting is set 3 columns.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FvNiKDjs6f15uIh4G55II%2Fimage.png?alt=media&#x26;token=6b82ca2c-a483-45f7-bf69-236c4f1ef84c" alt=""><figcaption></figcaption></figure>

* After setting the first cell is set to have:
  * Column span: 2 columns.
  * Row span: 2 rows.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2F8V228mynrlTWbdO0US75%2Fimage.png?alt=media&#x26;token=fc524195-7497-4e0d-a140-7d0431193b98" alt=""><figcaption></figcaption></figure>

### Delete a cell

You can remove a cell at any time. This deletes both the cell and the element within.

{% hint style="success" %}
Steps:

1. Select the relevant cell.
2. Click the **Delete** <img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2F21mLAa0yrxaMLNu22VBX%2FBackspaceIcon.svg?alt=media&#x26;token=16d8af38-3c7a-4eb9-9faf-2b3cd463340b" alt="" data-size="line">button on your keyboard.

or

1. Select the grid that contains the cell you want to delete.
2. In the **Inspector** panel > **General** > **Manage cells**, click the **Remove** <img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2F82iZIO5as4vtKc5omud1%2FDeleteIcon%20(1).svg?alt=media&#x26;token=02556675-3239-49c9-87a9-127ed161ec4b" alt="" data-size="line">button next to the relevant cell.

![](https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2F2HwAcqF6a9BmD9yoLs2l%2Fimage.png?alt=media\&token=4a25ce63-4168-4df6-8f40-381bc0fc1156)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/foxify-app/foxstudio/layout-and-styling/cells-and-grids.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
