# Sub collection

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2FBGtSDMjKrb0aMt3vgXPi%2Fimage.png?alt=media&#x26;token=1cb5f6b7-afbb-4c18-9025-0c7c71604653" alt=""><figcaption></figcaption></figure>

The sub collection automatically displays sublists, enhancing user experience by enabling easy navigation and access to specific data subsets. It streamlines data exploration, making it more efficient and organized for users.

To setup Sub Collection, please follow these steps:

{% hint style="success" %}
**Step 1:** Create metafields

To create metafields for **Sub Collection**, please follow [this article.](https://blueskytechco.gitbook.io/alukas-shopify/get-started/import-data/create-required-metafield#id-6.-sub-collection)
{% endhint %}

{% hint style="success" %}
**Step 2:** Setup Sub Collection

1. From your admin, go to **Collections** and select the collections to setup
2. Scroll down to **Metafields** and click to **Sub Collections**
3. Click to **Select Collections** and select the **Collections** you want to do sub collections
4. **Save** this change and you can see the result
   {% endhint %}

{% hint style="success" %}
**Step 3:** Add Sub Collection in page Collection

1. In the theme editor (**Customize**), open the template selector
2. Select **Collections**, then **Default Collection.**
3. On the left-sidebar, add section **Sub Collection**
4. Make necessary changes > **Save.**
   {% endhint %}

## Section settings <a href="#sub-collection-settings" id="sub-collection-settings"></a>

### **Section header** and **general:** <a href="#id-1.-section-header-and-general" id="id-1.-section-header-and-general"></a>

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.

Adjust the text alignment (left/center/right) along with the background color and container type.

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2F6PlmVCbYvcsg22QN6gfm%2Fimage.png?alt=media&#x26;token=a103a34f-2317-452e-ad30-fc288259c9c2" alt=""><figcaption></figcaption></figure>

**Layout:** You can choose between Fluid Container, Stretch width, Full width for the layout or just leave it with the default layout of the video.

**Color schema:** You are allowed to change text color, background color, etc. with preset color.

**Column gap:** Adjust the spacing between two Instagram items to ensure a visually pleasing and well-organized layout within the Instagram block.

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2FYCTvJFqOFUHtEnchRxVO%2Fimage.png?alt=media&#x26;token=1769833f-a0a5-4157-9678-1b94d7ca0b30" alt=""><figcaption></figcaption></figure>

### **Collection settings**

**Collection Type:** Choose between a grid or carousel layout.

**Design:** Select from three design options.

{% tabs %}
{% tab title="Design 1" %}

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2Fnj9owkz0B8ll5CgWBe29%2Fimage.png?alt=media&#x26;token=2e427341-b7f8-476e-ba9a-c682137e569a" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Design 2" %}

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2Fd8vYryAlGuEJUA2G4s52%2Fimage.png?alt=media&#x26;token=519f7e32-c716-45bd-ad7c-f362161c04a0" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Design 3" %}

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2Fz0BBnjnIuIraQQX4Fo6C%2Fimage.png?alt=media&#x26;token=7680f3ec-46cb-4e5b-b86a-322390a42224" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

**Hover Effect:** Options include zoom, border inset, show shadow, or none.

**Show Product Count:** Decide whether to display the number of products in each collection.

**Hide Image Collection:** Option to not display collection images.

**Collection Center:** Align the collection display to the center.

**Custom Width Images:** Set specific widths for images in the collection for a tailored appearance.

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2Fz03d1IAFZQQw46sbsTAh%2Fimage.png?alt=media&#x26;token=06150b94-4918-47f1-bc8b-22ff4d629b62" alt=""><figcaption></figcaption></figure>

**Image Style:** Choose from square, rounded, or radius for your image edges.

**Aspect Ratio:** Opt for the default value or customize the ratio to fit your design needs.

**Items Per Row (Desktop):** Set the number of items you want to display per row on desktop views.

**Column Gap:** Adjust the spacing between columns to create a clean and organized layout.

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2FAeQvtrnYZjHCpt8q8yKT%2Fimage.png?alt=media&#x26;token=fe3472c5-7fbf-4710-bce8-81b80e621e1a" alt=""><figcaption></figcaption></figure>

### Typography

Typography settings include customization options for headings, subheadings, and descriptions. You can adjust the Font size and Font weight for each of these text elements to match your design preferences.

Additionally, the Spacing between each element can be tailored, allowing for optimal readability and a visually appealing layout that enhances the overall user experience.

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2FAA22nPZQjcZnBmITEUEs%2Fimage.png?alt=media&#x26;token=3238aba5-7966-4c51-9650-a8ef1352f840" alt=""><figcaption></figcaption></figure>

### Carousel settings

**Autoplay / Infinite Play:** Enable this setting for the carousel to automatically scroll through items indefinitely, providing a seamless browsing experience.

**Show Arrows** and **Dots:** Activate arrows for users to manually swipe through carousel items and dots for a visual indicator of their position within the carousel.

Direct Navigation via **Dot:** Utilize dots to allow users to jump directly to a specific tab or item in the carousel, enhancing navigation efficiency.

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2Fz1VpWGeYBQodxrMsJAec%2Fimage.png?alt=media&#x26;token=458868d3-5a8d-4e46-9ff4-6e7a44480342" alt=""><figcaption></figcaption></figure>

### Section padding

Section padding allows you to specify the space between this section and the preceding or following sections, or both.

<figure><img src="https://1560263855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz14kVz432NnMEq8AbqBr%2Fuploads%2FR0I8dbTM5p0tVvdtx52L%2Fimage.png?alt=media&#x26;token=1e65c123-518c-4bf5-9b68-ddfa4839e4d4" alt=""><figcaption></figcaption></figure>
