# Collapsible tabs

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FKfkSCkL7BwhzoPcZwCew%2FFrame%2044101.png?alt=media&#x26;token=736d38e5-506c-4882-a223-125c37e3ebbb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2Fj3BePSufBfOG5yWsh0EF%2Fimage.png?alt=media&#x26;token=e63a772a-a5ca-4b94-b653-e60d6444d2ef" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FzZWq6hwFNEaLmwFDMky2%2Fimage.png?alt=media&#x26;token=03a41f6b-debc-4504-b23b-be75ee5ce022" alt=""><figcaption></figcaption></figure>

#### Section header

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FBAorbKbF2dtnrrRLRJuR%2Fimage.png?alt=media&#x26;token=8fcca9f9-bff4-4ccc-a564-c3cdaedbb0c3" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FSQo4tI6VSgODWruw8DBV%2Fimage.png?alt=media&#x26;token=66d5af22-257b-4139-b7f7-c4d9044ff0e5" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Standing column" %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FZZq9Fm6GJifZZtajgP5z%2Fimage.png?alt=media&#x26;token=6fddfcb3-773d-4c65-a87c-f92e78ce5b45" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FkF6sQHw1DeZOLAMCDnGk%2Fimage.png?alt=media&#x26;token=ffd0b32c-323b-4434-888e-2bc1a854f67a" alt=""><figcaption></figcaption></figure>

#### Highlight text

[How to apply Highlight text to the section heading and block headings?](https://docs.foxecom.com/sleek-theme/pages-global-sections/general-settings#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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FjP1QV8f70FHkWEiVBlVu%2Fimage.png?alt=media&#x26;token=23c30682-7f40-420d-9415-9eb710ff3b15" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FRYUmcLRRw98P93FDsCP7%2Fimage.png?alt=media&#x26;token=65e52549-215c-4053-91dc-67725b44065a" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FMwIATmR1e7h7vDfWKwWO%2Fimage.png?alt=media&#x26;token=9a556bc7-cc23-48f6-9ffe-5b2fc658f07d" alt=""><figcaption></figcaption></figure>

#### Collapsible tab

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FBwYxjZHNiDm3qyNzktm0%2Fimage.png?alt=media&#x26;token=ccdfc51f-0745-4e4a-b444-cfd96f759861" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FIzynR7jC9qgC4b0kInMh%2Fimage.png?alt=media&#x26;token=6a7652f3-0d83-4b02-83ac-b2ca7b34ad28" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Card" %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FGZdoD74PkLgZAu4VPcDb%2Fimage.png?alt=media&#x26;token=9c7f21c8-6cec-458e-a988-b7369a006c23" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2Fpj9hQkhOpdDaMwfCAWNc%2Fimage.png?alt=media&#x26;token=3439df96-c9c7-4194-a6af-93c7c2e64902" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FRvE0gV82KrLv8fN8Ofy4%2Fimage.png?alt=media&#x26;token=04c27c7e-eeff-481d-b7be-b579a10d41b0" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FfAtUuJd9fyj5jc7m9ea0%2Fimage.png?alt=media&#x26;token=e04cc24f-2f72-4a44-8500-0644dd489539" alt=""><figcaption></figcaption></figure>

### Block settings

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F0l8FcSJH47yLK4A9D1pp%2Fimage.png?alt=media&#x26;token=3eaef900-da90-43b9-b482-801164cb71de" alt=""><figcaption></figcaption></figure>

#### Collapsible tab

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F8lymjzomEq9bhvlLIcvn%2Fimage.png?alt=media&#x26;token=32ea06b8-0579-4ca3-a07f-6ca2ae6d26c9" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2Fz2hAfnTreaHfdqJFhEQy%2Fimage.png?alt=media&#x26;token=465c3207-fb22-4d52-ae78-de13c8b47c5d" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F30SS0BtzQfuf7budIpIu%2Fimage.png?alt=media&#x26;token=0ac59d91-bb83-4c66-851b-5e5f80eadabf" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FZ479ZMwj4OxHv1AahgIu%2Fimage.png?alt=media&#x26;token=e1079936-75d4-489f-8873-160a959ecf10" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/3yE7VVjvl0MgK6awOPKB/blobs/uTTk4XCndnPvAMl11GPi/4-Tab%20content%20from%20page.jpg" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FjtPCBeu9AslGZgJygbOd%2Fimage.png?alt=media&#x26;token=03df4d37-835f-4492-82bf-13d045faf463" alt=""><figcaption></figcaption></figure>

#### Image Card

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FJ06Et5IFY07Yf5ipvbAd%2Fimage.png?alt=media&#x26;token=8a131c3e-2b36-4fb4-b01f-fd6d06b95ed3" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FeHdg7toUIOIvUCQ72czJ%2Fimage.png?alt=media&#x26;token=0bf80692-b3ec-4dad-9fae-0d2ef89844f6" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F27M1EtjTnlt9rVrzsUsa%2Fimage.png?alt=media&#x26;token=6fb6568e-5c94-43bb-b0bc-a6974354c875" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FYkyvhQw4CT0YCbIx4vMU%2Fimage.png?alt=media&#x26;token=4c68c489-4324-4b6f-a30e-a7cff1517535" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FJc1lwOVBDbkQyGjhGmJ2%2Fimage.png?alt=media&#x26;token=edc1179e-0784-47e3-83bd-0121f6b7e976" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FQwaF5vuvNnGyn9PJRWRG%2Fimage.png?alt=media&#x26;token=1a72a197-beb3-43cc-aa24-7fb5020470fd" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F3JkZBUeM4IzUem8NUXVB%2Fimage.png?alt=media&#x26;token=8e3396a6-9a1b-48a8-bd13-f2ed78cac60c" 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="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FzniAxtRK3OSE9JCxCzfr%2Fimage.png?alt=media&#x26;token=c5a34f63-1f7c-4eec-bb7c-220df0d9cabb" alt=""><figcaption></figcaption></figure>
