# Collapsible content

![](/files/NcR07nglVGmumUPBpkHF)

Collapsible content helps break up longer descriptions and make them more visually appealing. This comes in handy when you want to show important notice or information without taking up too much space.

{% hint style="success" %}
Steps

1. In the theme editor **(Customize)**, click **Add section.**
2. Locate **Collapsible content** sectio&#x6E;**.**
3. **Save.**
   {% endhint %}

## Section header

Use the provided text fields to add a suitable heading/subheading/description. Leave any of them blank if you do not want to display them. \
\
Change heading size and description style

Adjust the text alignment (left/center) along with the background color and container type on both mobile and desktop.

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

## Block settings

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

### Custom content block

Add the needed message/information into the provided fields. Check the box "default open" if you want the tab to always open when entering the page.

<img src="/files/QODJGo4kVvV85LbEShjQ" alt="" width="375">

### Custom liquid block

For the liquid block, you need to add your liquid code.&#x20;

To learn more about liquid, see [Liquid](https://shopify.dev/api/liquid).

![](/files/yCayiFDjMSIn9e7sHcvu)


---

# 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/megamog-theme/theme-sections/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.
