> For the complete documentation index, see [llms.txt](https://oranthemes.gitbook.io/edge-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oranthemes.gitbook.io/edge-theme/theme-sections/content/expanding-gallery.md). Agents can also search and read this documentation through its [MCP server](https://oranthemes.gitbook.io/edge-theme/~gitbook/mcp).

# Expanding gallery

A row of images that expands when customers click on them

The "Expanding gallery" section shows a row of images. One item is open with its content, the others are collapsed. When customers click a collapsed item, it smoothly expands and shows its heading, text and button.

<figure><img src="https://2841038207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGTidUfSjAqopf8pRRmN%2Fuploads%2Fgit-blob-e7a23260077dae1d3cb8c6ba275049f40443b4c8%2Fexpanding-gallery.jpg?alt=media" alt="Expanding gallery"><figcaption></figcaption></figure>

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

1. In the theme editor **(Customize)**, click **Add section.**
2. Locate **Expanding gallery.**
3. Make necessary changes. > **Save.**
   {% endhint %}

## General settings

<figure><img src="https://2841038207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGTidUfSjAqopf8pRRmN%2Fuploads%2Fgit-blob-5a1245606096a8244feaf620f3b98fd2ad8ad439%2Fexpanding-gallery-settings.jpg?alt=media" alt="Expanding gallery settings" width="304"><figcaption></figcaption></figure>

* **Width** - Boxed / Wide / Full

### Header settings

* **Subheading**
* **Heading**
* **Heading size** - Heading 1 - Heading 6
* **Description**
* **Layout** - Horizontal / Vertical

### Gallery settings

* **Enable auto rotate** - Open the next item automatically
* **Change gallery every** - From 3 - 10 seconds. Shown when **Enable auto rotate** is on.
* **Show subheading on collapsed items** - Show each item's subheading vertically on collapsed items, so customers can see what each item is about. Desktop only.
* **Gap (desktop)** - Space between items
* **Desktop height mode** - Fixed height / Full screen
* **Desktop fixed height** - From 400 - 1000px. Height applied when **Fixed height** is selected.

### Mobile settings

* **Gap (mobile)**
* **Mobile height mode** - Fixed height / Full screen
* **Mobile fixed height** - From 300 - 1000px. Height applied when **Fixed height** is selected.

{% hint style="info" %}
On mobile, all items show their content and customers swipe through them.
{% endhint %}

### Colors

* **Background**
* **Text**
* **Border color**

### Section padding

* **Top padding**
* **Bottom padding**

## Block settings

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

1. Locate **Expanding gallery.**
2. **Add Gallery** - Up to 5 items.
3. Make necessary changes. > **Save.**
   {% endhint %}

<figure><img src="https://2841038207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGTidUfSjAqopf8pRRmN%2Fuploads%2Fgit-blob-900eaeb83b65b2d2bf0812860630f8a250eec6d0%2Fexpanding-gallery-block.jpg?alt=media" alt="Gallery block settings" width="304"><figcaption></figcaption></figure>

* **Image**
* **Subheading** - Also shown vertically on collapsed items when **Show subheading on collapsed items** is on.
* **Heading**
* **Heading size** - Heading Xl / Heading 0 - Heading 6
* **Content**
* **Button** - Leave the label blank to hide the button.
* **Link**
* **Button style** - 7 options for button
* **Show arrow icon**

#### Colors

* **Text**
* **Overlay color**
* **Overlay opacity** - From 0 - 100%
* **Overlay gradient** - Overwrites the overlay color.
