# Custom section

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

This section opens up creative possibilities far beyond standard templates, allowing you to craft rich, dynamic, and visually captivating layouts.&#x20;

With the flexibility to add, reorder, and style multiple content blocks, you can build pages that not only reflect your brand’s personality but also deliver an engaging experience tailored to your business goals.

## How to add a Custom section to your Shopify store

{% hint style="success" %}

1. In the theme editor **(Customize)**, click **Add section.**
2. Select **Custom section**.
3. Make necessary changes.
4. **Save.**
   {% endhint %}

## How to edit a Custom section <a href="#how-to-customize-a-banner-with-tabs-section" id="how-to-customize-a-banner-with-tabs-section"></a>

### Section settings

* **Desktop content width:** Adjusts the maximum width of the newsletter section on desktop by percentage.
* **Container:** Choose between a full-width layout or a fixed-width container.
* **Direction:** Set the layout direction of form elements to either **Vertical** or **Horizontal**.

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

<figure><img src="/files/iXsh8ajDJPD7LVV6UvL3" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Horizontal" %}

<figure><img src="/files/tuAYG6a2oKnjuSaA8e0D" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

* **Vertical on mobile:** Enable this option to force a vertical layout specifically on mobile devices.
* **Alignment:** Controls the alignment of the content (Left, Center, or Right).

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

<figure><img src="/files/e7x1WJtoMSJCWxL2tGhR" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Center" %}

<figure><img src="/files/CY9VeZThQtvZorT2aRgT" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Right" %}

<figure><img src="/files/JFodZK5YiZDKJ6NgduqQ" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

* **Position:** Adjusts the placement of the content (Top, Center, or Bottom).

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

<figure><img src="/files/5LZurz1FioT8AvRaaYok" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Center" %}

<figure><img src="/files/j0afjASUqWx4ptyA5Nqr" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Bottom" %}

<figure><img src="/files/cTnGok77vJlJAoHozbVR" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

* **Horizontal gap:** Sets the horizontal spacing between elements in pixels.
* **Vertical gap:** Sets the vertical spacing between elements in pixels.
* **Mobile layout:**
  * **Horizontal gap:** Controls the horizontal spacing between elements on mobile.
  * **Vertical gap:** Controls the vertical spacing between elements on mobile.

### Nested dynamic blocks

You can add multiple dynamic blocks within this section. Learn more about each block type here.

{% content-ref url="/pages/kDPTtLq1SGRul34JEndy" %}
[Theme blocks](/pebble-theme/theme-blocks/overview.md)
{% endcontent-ref %}

<details>

<summary>Demo preferences</summary>

<div><figure><img src="/files/vzR8tuBGH1JhvpBMg9vk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/PQLaUy53fJhqKeldsOzg" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/wQT2EQoYEZ77igcD3xKp" alt=""><figcaption></figcaption></figure> <figure><img src="/files/h07dSVHSaSqJmH5fvVZZ" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/uuU29Rm2p21dRnZA2Qcg" alt=""><figcaption></figcaption></figure> <figure><img src="/files/yTF0iKUlAgLf3TA3UHsz" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/VuRhzaXNfy8KhYgxGPJd" alt=""><figcaption></figcaption></figure> <figure><img src="/files/UkRPyJiEunXG2T7g1c7S" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/gPsf78qDkp5fs5mQ5pRt" alt=""><figcaption></figcaption></figure> <figure><img src="/files/yg13NmwxTjmt15nJvLXr" alt=""><figcaption></figcaption></figure></div>

</details>


---

# 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/pebble-theme/theme-sections/custom-section.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.
