# Contact form

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

Let customers easily reach out with inquiries, order details, or support requests with a flexible Contact Form section.

## How to add a Contact form section to your Shopify store

{% hint style="success" %}

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

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

### Section settings

* **Container:** Choose between a *Full* width layout or a *Fixed* width container for the contact form.
* **Direction:** Set the layout direction of form elements to either *Vertical* or *Horizontal*.

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

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

{% tab title="Horizontal" %}

<figure><img src="/files/W9jZpsMGgq7XaWmWYlvy" 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/5IMQuvPfzguZuYNfuTq1" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Center" %}

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

{% tab title="Right" %}

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

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

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

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

{% tab title="Center" %}

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

{% tab title="Bottom" %}

<figure><img src="/files/2EoiPRF327H2HLjNAT3o" 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

#### Contact form

{% hint style="success" %}
📝 Learn more about Contact form block: [Contact form](/pebble-theme/theme-blocks/forms.md#contact-form)
{% endhint %}

#### Other 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 %}


---

# 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/contact-form.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.
