# Contact form

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FITRKcNpwlmt6OxqcTE7z%2FFox-BG%20Light%20(26).jpg?alt=media&#x26;token=d635c9ae-1c35-48b9-bd78-1b45a2744780" alt=""><figcaption></figcaption></figure>

A contact form is helpful in generating leads, boosting sales and conversions by understanding your customers' needs.&#x20;

{% hint style="info" %}

* Your contact form sends all submissions to your store's sender email address. You can change your sender email address on the [**Notifications**](https://admin.shopify.com/settings/notifications) settings page of your Shopify admin.
* You can't change the subject line for emails sent through a contact form on a Shopify store.
  {% endhint %}

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

{% hint style="success" %}
Steps

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

## How to edit a Contact form&#x20;

### Section settings

#### Form settings

Control the **design**, **width** and **aligment** of the form.

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

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2F3vw1j86zf5eeAQ3lKL6F%2Fimage.png?alt=media&#x26;token=e5d10490-9b38-4fb4-b908-0f657c4eebe6" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Design 2" %}

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FbpiFwhXsE7gUc6mEyFJo%2Fimage.png?alt=media&#x26;token=1bb78da1-7f17-451b-96e9-399df85e4cee" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

#### Submit button

Adjust the **button label** and **style**.&#x20;

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FTuTWZuZxCAPDs0I3UVj0%2Fimage.png?alt=media&#x26;token=0deec1a4-5f62-413d-b575-1563615b20aa" alt=""><figcaption></figcaption></figure>

### Block settings

You can add 4 blocks to the form: name, phone, email, message.

In each block, add the **field label, placeholder** and adjust the **field width** (50%/ 100%).

<figure><img src="https://1836495117-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOdebKCa6IK9qfbdvSKj0%2Fuploads%2FcCN0QqvqHleJDLGaObIF%2Fimage.png?alt=media&#x26;token=3c8c5b07-234f-4b35-a70f-b4f75273801c" alt=""><figcaption></figcaption></figure>

The email and message fields are required for the form to submit successfully.

{% hint style="info" %}
Change the **corner radius** of the form and form input in **Theme settings >** [typography](https://docs.foxecom.com/zest-theme/theme-settings/typography "mention")
{% endhint %}


---

# 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/zest-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.
