---
description: >-
  Use the "Image gallery" section to display numerous banner blocks with the
  description.
---

# Image gallery

## Image gallery

{% hint style="success" %}
**Tip:** To hide the title, description, or button, leave the corresponding fields blank.
{% endhint %}

Use the **"Heading"** placeholder to add a section title.

The font size of the title can be changed to "Small", "Medium", or "Large" in the **"Heading font size"** drop-down.

If you need to set up the color of the heading, use the **"Heading color"** picker. You can paste the hex code to the corresponding field or choose the color using the paint pallet. The color settings will be used for both desktop and mobile.

Use the **"Description"** input field to add some descriptive text lines to the section that will appear under the heading.

The color of the description can be set in the **"Description color"** picker. The color you apply for the item will be used for a desktop and mobile.

### Layout

The layout settings change the look and feel of the section.

Choose one of the options "In-grid heading", "Heading on top", or "Heading top center" in the **"Layout"** drop-down.

Use the **"Mobile align"** settings to change the alignment of the heading and description to the "Left" or "Center". Leave the "Auto" option to use the pre-designed theme settings.

To add a divider between sections, use the **"Dividing line"** to set the position: "Top", "Bottom", or "Both". The dividing line will be hidden once you use the option "None".

On the **"Top spacing"** and **"Bottom spacing"** scales, decide whether to add spaces at the top and bottom of the section. Control spacing settings from 0 to 100 pixels on each scale.

### Content

The number of images per row can be set in the **"Images in row"** drop-down. Decide if to display 2 or 4 items in each row.

Choose the appropriate aspect ratio of the banner images in the **"Image ratio"**. You can use one of the options that display well on both desktop and mobile views: "Adapt to image", "Portrait", "Square", "Landscape", or "Circle". Each image ratio, you can check [<mark style="color:blue;">here</mark>](https://mpithemes.gitbook.io/unicorn-shopify-theme/dynamic-theme-sections#content).

Use the **"Column alignment"** drop-down to decide whether to align the block title and description on the "Left" or "Center":

{% tabs %}
{% tab title="Left" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2Figk3sUM3ARG4Q0elqF5f%2Fimage%20gallery_left.png?alt=media&#x26;token=09add912-d847-41bf-b6ea-e9f79a1ccbca" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Center" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FYGxSjS2ENlccPWGixvY4%2Fimage%20gallery_center.png?alt=media&#x26;token=b9de3479-735e-4178-8204-b98f9f88e856" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

**Enable swipe on mobile**

Check the box to add scrollbars instead of displaying the list of images on mobile view.

### Button/Second button

Use the settings described below to add or edit buttons that will be displayed in the section. The appearance of the buttons depends on the layout applied [<mark style="color:blue;">above</mark>](#layout). The button will be shown below the heading and description selecting the "In-grid heading" option. If using the "Heading on top" or "Heading top center", the buttons will be placed below all other content. For these options, the left or centered position of the button is determined by the position of the text content.

The example of the button when using the "In-grid heading" option can be viewed below:

<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FnbqSb8sSXRKYR398sQeN%2Fimage%20gallery_button.png?alt=media&#x26;token=af433a3e-a458-49fe-9d49-c2e59714d426" alt=""><figcaption></figcaption></figure>

Change the internal button text in the **"Label"** field. Leave the field blank to hide the button.

To redirect customers to the desired page, edit the **"Link"**. Use the link from the source selector, or paste the one if you use an external link.

Use the **"Style"** drop-down to change the button's appearance in the sections. The theme includes three styles that can work out in your store: "Primary", "Secondary", or "Link style". Each button style can be viewed on the following [<mark style="color:blue;">help page</mark>](https://mpithemes.gitbook.io/unicorn-shopify-theme/dynamic-theme-sections#buttons).

Use the **"Color"** picker to change the button background color for the "Primary" style. For the "Secondary" style the colorized text and border inside the button will be added. If you used the "Link style", the color will be applied to the text link.

### Blocks

Here you can apply color settings for the **"Heading color"** and **"Description color"** of the "Column" blocks.

In the following example, you can view how these settings might be displayed in the section:

<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FNNT01GurfHHJc23VSB5f%2Fimage%20gallery_blocks%20color.png?alt=media&#x26;token=686c3845-1bca-444e-aaf4-7f12d7226896" alt=""><figcaption></figcaption></figure>



Here is the example view of the section on a desktop and mobile:

{% tabs %}
{% tab title="Desktop" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FWD6r8jScK9tX6ujiTWNS%2Fimage%20gallery_desktop.png?alt=media&#x26;token=5f8eee09-0393-440c-8611-4eb20ee6249f" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Mobile" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FprObr1aOfHwtkupaq7Sf%2Fimage%20gallery_mobile.png?alt=media&#x26;token=e6fc25e9-dfdd-4498-ae90-c0ed1251c4a7" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

***

{% hint style="success" %}
**Tip:** This section includes the **"Column"** block that can be added more than once. Click the **"Add Column"** button to add more blocks than given.
{% endhint %}

## Column

Add the block to configure each banner with the description individually.

To redirect visitors to the pre-selected page by pressing the image or block's heading, paste the external link to the field, or use the **"Link"** source selector to add an internal link.

Use the **"Image"** picker to connect an image from the theme library with the block or upload an image from your computer.

In the **"Heading"**, you can paste the block title.&#x20;

If you need to pair text with the image, paste descriptive details in the **"Description"** input field.



Here is how the block might be displayed in a store:

<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FIfHlWZ2o2MB3rh7B0NVs%2Fiamge%20gallery_column.png?alt=media&#x26;token=4234c49d-04b3-4617-a5d2-00c4c229f317" alt=""><figcaption></figcaption></figure>
