# Collapsible content

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2F9CEd7q3haY5RiGgE7sGH%2Fimage.png?alt=media&#x26;token=7bf29722-0572-4edd-bc67-85338f444544" alt=""><figcaption></figcaption></figure>

Collapsible content is a great way to organize content and improve the user experience on your website. Easily create and customize collapsible content to present information in a clean, space-saving format using FoxStudio.

{% hint style="info" %}

#### **🧐 What Are Collapsible content tabs?**

Collapsible tabs are content blocks that can be expanded or collapsed with a simple click. They help declutter pages by hiding less important details until the user chooses to see them. This feature is ideal for FAQs, product details, policies, or any other type of content that doesn’t need to be visible at all times.
{% endhint %}

## How to add Collapsible content

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

1. In the FoxStudio editor, on the left Sidebar > Click **Add elements**, or press **E**.
2. In **Advanced elements**, select **Tabs & Collapsible.**
3. Drag the collapsible content onto your canvas.
   {% endhint %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FSU7VrgiaZ0MX0cvQ0NPs%2Fimage.png?alt=media&#x26;token=b5b21e96-8e46-4c65-b2ac-48547f4a7930" alt=""><figcaption></figcaption></figure>

## How to edit Collapsible content

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

1. **Select** the relevant collapsible content element in the editor.
2. All the formatting tools for the element can be found in the **Inspector** panel.
   {% endhint %}

### Manage collapsible items

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2Fe7WNvad8rSJIDDt5eWmf%2Fimage.png?alt=media&#x26;token=7e3e24c6-4801-48aa-b29d-b7ff93254cc4" alt=""><figcaption></figcaption></figure>

* **Add new items**

Click **Add item** to add a new collapsible item. You can add up to 20 items within the Collapsible content element.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2Fa1TNvPTcITQvp3bC09lt%2Fimage.png?alt=media&#x26;token=dd1f506a-cf08-4c9b-9bc0-4b2a8bb8f033" alt=""><figcaption></figcaption></figure>

* **Reorder items:**

Rearrange your tabs to change the order in which your content is displayed to your visitors by dragging the six-dot icon.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FgRQkR9IWdxZMhEjJKIiQ%2Fimage.png?alt=media&#x26;token=7508a441-9d40-4dcf-abab-b06e64b5de63" alt=""><figcaption></figcaption></figure>

* **Remove items**:

If you no longer need a collapsible item, you can delete it to keep your element up to date.&#x20;

Hover over the item you want to remove, 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">icon.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FQ4Sq7ippIWlCg3EiCIWn%2Fimage.png?alt=media&#x26;token=a126caa5-ab2e-4979-a204-de4fe7a540e9" alt=""><figcaption></figcaption></figure>

* **Title icon:** Choose an icon that will display next to each collapsible item title (Plus/Arrow).

{% tabs %}
{% tab title="Plus" %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FX9ethyKQvDkxVGlORtKS%2Fimage.png?alt=media&#x26;token=6cd6436b-2eb1-4f90-8a4e-3a199e1bcf48" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Arrow" %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FMqfAiLruemOlCyzgPlvk%2Fimage.png?alt=media&#x26;token=a8393e90-6a61-4c26-90b7-b77b53610117" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

* **Title tag:** Define the HTML tag (e.g., span, h2, h3) for the collapsible item titles.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FwX5Bobk0SK9wDccQ3iLs%2Fimage.png?alt=media&#x26;token=90dafb25-99c8-4f69-81b7-8bde2c2d5c6e" alt=""><figcaption></figcaption></figure>

### Customize your collapsible content

Click on the collapsible item you wish to edit.

#### General setting

Edit the title of the tab to fit your content. Choose an icon from the icon library or upload a custom icon to represent the tab visually.

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FFk8SV5LEgdFogYSWwsbK%2Fimage.png?alt=media&#x26;token=3fc16053-fd7c-4694-b95b-2f2ea6ea4f15" alt=""><figcaption></figcaption></figure>

#### Design settings

You can design and style different parts and states of the collapsible content.

{% hint style="success" %}
Use the dropdown menu to choose the specific part you want to design:

* **Element Container**
  * **Normal State**: Customize the container when it is collapsed (not expanded).
  * **Open State**: Customize the container when it is expanded.
* **Element Header**
  * **Normal State**: Style the header when the tab is not expanded.
  * **Open State**: Style the header when the tab is expanded.
* **Element Content**
  * Customize the content section within the tab.
    {% endhint %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2Fz2Qzngt5Vkh5AiXt6N4k%2Fimage.png?alt=media&#x26;token=73fef220-2b32-48bf-b420-a254e19215de" alt=""><figcaption></figcaption></figure>

### Add content over a collapsible item

Add whatever elements you want to your collapsible item including text, images, videos, and buttons. Using different content on each tab keeps visitors engaged and encourages them to explore your site further.

{% hint style="info" %}
**Pro tip:** Make sure you test and ensure the collapsible tabs look good on mobile devices:mobile\_phone:.
{% endhint %}

{% hint style="info" %}
Use the **Layers panel** to easily navigate and manage the hierarchy of elements on your page.
{% endhint %}

{% content-ref url="../editor-tools/layers" %}
[layers](https://docs.foxecom.com/foxify-app/foxstudio/editor-tools/layers)
{% endcontent-ref %}

<figure><img src="https://1749964694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgpgvtRaQLc36GYyIktZ%2Fuploads%2FofiMj3oUW1CJm47TyIUl%2Fimage.png?alt=media&#x26;token=5c0168b2-c213-43a7-91a0-947f91aa523e" alt=""><figcaption></figcaption></figure>

## FAQs

#### **How many collapsible items can I add?**

You can add up to 20 collapsible items in your collapsible content. However, for optimal user experience, try to keep the number of items reasonable.

#### **Can I use images and videos inside the collapsible content?**

Yes! You can add images, videos, links, and even HTML content inside the content section.

#### **Why aren't my collapsible items working?**

Check if there are conflicting scripts on your page. If the issue persists, reach out to our **Support team** via in-app live chat or email <happytohelp@foxecom.com> :white\_check\_mark:


---

# 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/add-and-edit-elements/collapsible-content.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.
