# Collapsible tabs

<figure><img src="/files/DHuVQs67pWJX8XknukZ5" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6TmW1o8KCa9XQ2zuQjNk" alt=""><figcaption></figcaption></figure>

Collapsible tabs help break up longer descriptions and make them more visually appealing.&#x20;

This comes in handy when you want to show important notice or information without taking up too much space.

In this article, we will show you how to add a Collapsible tabs section.

## How to add a Collapsible tabs section to your Shopify store

{% hint style="success" %}
Steps

1. In the theme editor **(Customize)**,> click **Add section.**
2. Select **Collapsible tabs.**
3. Make necessary changes.
4. **Save** the setting&#x73;**.**
   {% endhint %}

## How to edit a Collapsible tabs section

### Section settings

#### General

Adjust the **Container** (Fixed width/Narrow) for this section.

<figure><img src="/files/1RWGY4J6tieG1lu7jf6U" alt=""><figcaption></figcaption></figure>

#### Section header

Select your preferred **Layout** for the section:

<figure><img src="/files/lmo1q0qTpFkUarRxnUUB" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/AzyHdSVLZx4I2VBabK5e" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Standing column" %}

<figure><img src="/files/ZsTuweNR7FFiaTIaHpLD" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

Add the content you want in the **Heading** to attract customers' attention

* Leave it blank if you do not want to display it

You can also change the **Heading size** to:

* Heading xs
* Heading sm
* Heading md
* Heading lg
* Heading xl
* Heading 2xl
* Display md
* Display lg
* Display xl

to make the content look balanced on your website.

<figure><img src="/files/ZxqDzPkIn2fJ4Eet5kSf" alt=""><figcaption></figcaption></figure>

#### Highlight text

[How to apply Highlight text to the section heading and block headings?](/sleek-theme/pages-global-sections/general-settings.md#highlight-text)

Use the provided text fields to add a suitable **Subheading** and **Description**.

* Leave them blank if you do not want to display them

You can also change the **Text size** to Small/ Base size/ Large to make the content look balanced on your website.

<figure><img src="/files/2TUt6ZciaSUebssXwJcj" alt=""><figcaption></figcaption></figure>

The call-to-action button will get the link from the provided **Button link** field.

Give the button a **label,** and a specific **Button style**:

* Primary button
* Secondary button
* Underline button

<figure><img src="/files/b2JpfvItjp5Mhe3SiQMd" alt=""><figcaption></figcaption></figure>

#### Grid settings

You can also control the suitable spacing between the blocks by selecting **Column gap** and **Row gap** options.

* **Column gap**: Extra large/ Large/Medium/Small/ Extra small/ None
* **Row gap**: Extra large/ Large/Medium/Small/ Extra small/ None/ Same as the column gap

<figure><img src="/files/URfXQDEU8klfgk3j7WBh" alt=""><figcaption></figcaption></figure>

#### Collapsible tab

Select your preferred **Style** for the Collapsible tab blocks:

<figure><img src="/files/HZLnq8LNxaQE06dwNm1X" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/yer0GOFYvshcL3aqcmpX" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Card" %}

<figure><img src="/files/ECvPotCFfdi9cVC0KRAA" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

Adjust the **Color scheme** for the Collapsible tab blocks.

<figure><img src="/files/cR84ww3djDNkIMG5pgzu" alt=""><figcaption></figcaption></figure>

Moreover, you can also change the **Font family to** Body font/ Headings font and **Heading size** to Heading xs/ Heading sm/ Heading md/ Heading lg/ Base size for the Collapsible tab blocks.

<figure><img src="/files/hS9VoZwaJJ8g93U1oUjo" alt=""><figcaption></figcaption></figure>

Adjust the **Icon size** (Extra small/ Small/ Extra medium/ Medium/ Large) to make it look well-proportioned with the Collapsible tab heading.

<figure><img src="/files/lMJp94RsxValvWRybeFB" alt=""><figcaption></figcaption></figure>

### Block settings

You can add more blocks to the collapsible tabs (Collapsible tab/ Heading/ Image card).

<figure><img src="/files/s2DgZqTiWLAYgs3onFbd" alt=""><figcaption></figcaption></figure>

#### Collapsible tab

You can choose a wide range of icons to display in the heading - **Icon.**&#x20;

<figure><img src="/files/spKLvK1BcNY0tUPlaUvd" alt=""><figcaption></figcaption></figure>

For content, add the needed message/info into the provided fields such as **Heading**, **Collapsible tab content,** and **Custom liquid**.&#x20;

<figure><img src="/files/nUKBxSYeAt3VDfwf5UWK" alt=""><figcaption></figcaption></figure>

You can enable **Default open** if you want the tab always to open when entering the page.

<figure><img src="/files/hBoBI8sA713c92rND8Ao" alt=""><figcaption></figcaption></figure>

Then you can credit content from a page to the collapsible tab by **Tab content from the page** section.

<figure><img src="/files/idpz6VzTfCjWWk0wi7cx" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/z6SVQRibCIC3OJP7HwhK" alt="An example of assigning content from a specific page for the tab" width="375"><figcaption></figcaption></figure>

#### Heading

Fill in the suitable **Heading**, **Subheading** and change the **Heading size** (Heading 1/ Heading 2/ Heading 3).

<figure><img src="/files/mg1nysLKHElOsJoflL1V" alt=""><figcaption></figcaption></figure>

#### Image Card

Adjust the **Color scheme** for the image card block.

<figure><img src="/files/w9iXrNAvWBr6RdL5DlUZ" alt=""><figcaption></figcaption></figure>

**a) Block settings**

This setting allows you to adjust the **Desktop image position** to the Left or Right and **Vertical alignment** to the **Top**/ **Middle**/ **Bottom**.

Moreover, you can use the slider to change the **Desktop image width** of the Image card block between 30% and 70%.

<figure><img src="/files/w5M88qa4fnHCUdcaXFFg" alt=""><figcaption></figcaption></figure>

**b) Image**

Click **Select image** to assign the image to the banner on the desktop and use the slider to change the **Image overlay opacity**.

<figure><img src="/files/wB3lN6PrZvNju62l6uP6" alt=""><figcaption></figcaption></figure>

**c) Content**

Add some text for the banner’s **Heading, Subheading**, and **Description.** Leave them blank if you do not want to display them.

You can also change the **Heading size** (Heading 1/ Heading 2/ Heading 3) to make your image card block look more balanced.

<figure><img src="/files/0dez9vmfTGCLBFMuIVON" alt=""><figcaption></figcaption></figure>

Add a call-to-action button that directs customers to the target page specified in the **Card link** field. Add a **Label** then choose a **Button style** (Primary button/ Secondary button/ Underline button)**.**

<figure><img src="/files/hYSKYCt3Gd8KnMhmkoH0" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ig2ZPNQBQXHAiso60lUR" alt=""><figcaption></figcaption></figure>

Furthermore, you can also modify the look as well as the position of the content by changing these properties:

* **Content position**: Top left/ Top center/ Top right/ Middle left/ Middle center/ Middle right/ Bottom left/ Bottom center/ Bottom right
* **Content alignment**: Left/ Center/ Right
* **Content spacing**: Small/ Medium/ Large

<figure><img src="/files/aL77J5KKtrRx9M13bV3n" alt=""><figcaption></figcaption></figure>

**d) Mobile settings**

Especially, if you want to display a different card image on the mobile device, you can insert another image to the **Image** field.

You are able to display the content below or above the collapsible tabs by enabling/disabling the **Display the card above collapsible tabs** checkbox.

<figure><img src="/files/v2My80YqCOMVdhqMkbLx" alt=""><figcaption></figcaption></figure>


---

# 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/sleek-theme/theme-sections/collapsible-tabs.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.
