# Contact form

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FeGHsRkF2Y8sKslVEVeFX%2Fimage.png?alt=media&#x26;token=4a12d95f-d0fc-47d0-aa1c-c90e6a0d24c9" alt=""><figcaption></figcaption></figure>

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

## How to add a Contact form

{% 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

### Section settings

Adjust the **Color scheme** and **Container color scheme** for this section.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FEx3tQb3sfXDCMPrF9AiK%2Fimage.png?alt=media&#x26;token=4481214c-02b3-455b-9fc4-ecde5dace612" alt=""><figcaption></figcaption></figure>

Use the provided text fields to add a suitable **Heading**.

* Leave it blank if you do not want to display it

You can also change the **Heading size** to:

* Heading xs
* Heading sm
* Heading md
* Heading lg
* Heading xl
* Heading 2xl
* Display md
* Display lg
* Display xl

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FcN7Nc2oRAbrBp9D0VEsz%2Fimage.png?alt=media&#x26;token=e22db9dd-c3e4-4cd3-94f8-3bd92eb8c69d" alt=""><figcaption></figcaption></figure>

### Block settings

#### 1) Custom field

You can add multiple fields with different types to the contact form section by adding **Custom field** blocks. They are used to collect customization information via your contact form.

As you can see in the screenshots below, you can select a preferred **Field type** such as Text, Textarea, Phone, Select, Checkbox, or Radio. (Note: The phone field type can only be added once)

Give the custom field the **Label** and **Placeholder** to distinguish it from other fields. Leave them blank if you do not want to display them.

<div><figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2Fg3UaaMjXSDKtLtk6V16B%2Fimage.png?alt=media&#x26;token=be1cef4f-6bcf-4c2c-88a4-c2a8ed22fd40" alt=""><figcaption></figcaption></figure> <figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FbPtyc8Plkk1c1JusYdIb%2FScreenshot_7.png?alt=media&#x26;token=4949f4ca-7f62-499f-8a32-1d0f31e9663e" alt=""><figcaption></figcaption></figure></div>

You can choose to set up this section as required by enabling the **Required** checkbox. Moreover, check the **Full width** checkbox to display the custom field in full width.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FNGdPPOVhmJFbZ5hHHrJL%2Fimage.png?alt=media&#x26;token=c54a81a8-0f86-42ba-b418-55a8b3255a4f" alt=""><figcaption></figcaption></figure>

#### a) Select

If your field type is **Select**, you can add multiple options for it in the **Options** field.&#x20;

Each option is separated by a comma (e.g: Option 1, Option 2, Option 3).

<div><figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F5F3qpciLk7AJxdNe95DX%2Fimage.png?alt=media&#x26;token=afc53186-3389-4ba1-9525-2923903eb963" alt=""><figcaption></figcaption></figure> <figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F9ljR3MbuzJOFBlOHoUSX%2FScreenshot_8.png?alt=media&#x26;token=362118a0-ea14-443a-ad53-a2ca42c97ae3" alt=""><figcaption></figcaption></figure></div>

#### b) Checkbox

If your field type is **Checkbox**, you will have option to give the **Checked value** and **Uncheck value** fields suitable values.&#x20;

For example:&#x20;

* Checked value: Yes
* Unchecked value: No

<div><figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F861jlsSM9ppSWHeWU1vB%2Fimage.png?alt=media&#x26;token=51a3027f-1987-4d3c-a8bd-5a0b797e8df0" alt=""><figcaption></figcaption></figure> <figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FZAicYsha3QKxRXhRvPXh%2FScreenshot_9.png?alt=media&#x26;token=6d135715-f769-4624-9156-f738ecc31cfa" alt=""><figcaption></figcaption></figure></div>

#### c) Radio

If your field type is **Radio**, you can add multiple options for it in the **Options** field.&#x20;

Each option is separated by a comma (e.g: Option 1, Option 2, Option 3).

<div><figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FFjUMN33rOV7Es8ss9PHA%2Fimage.png?alt=media&#x26;token=819d7ae6-730c-48b6-b08d-f395d6f02585" alt=""><figcaption></figcaption></figure> <figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FpCppZZ0swBjxsZ8mhlt8%2FScreenshot_10.png?alt=media&#x26;token=bc091302-846d-4f10-994b-3f8a4d8f3a66" alt=""><figcaption></figcaption></figure></div>

#### 2) Image card

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2Fy89lLN2D91yg7HO6HsfP%2Fimage.png?alt=media&#x26;token=fd5a3a49-11bd-4082-9ae9-b147c8583dce" alt=""><figcaption></figcaption></figure>

#### a) General settings

Adjust the **Color scheme** for the Image card block.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FGU3mbyDwVAaKp41uSIB8%2Fimage.png?alt=media&#x26;token=76b7416b-c176-46a8-b844-6f1940cafe5e" alt=""><figcaption></figcaption></figure>

Click **Select image** to assign the image to the banner on the desktop and use the slider to change the **Image overlay opacity**.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FHmiERsJOXJwODiwf8A7N%2Fimage.png?alt=media&#x26;token=c13c9af9-935c-46e6-bf75-d37f9fc3f640" alt=""><figcaption></figcaption></figure>

Add some text for the banner’s **Heading, Subheading**, and **Description.** Leave them blank if you do not want to display them.

You can also change the **Heading size** (Heading 1/ Heading 2/ Heading 3) to make your image card block look more balanced.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F0QeuactmUaC0fbBPasxT%2Fimage.png?alt=media&#x26;token=1a695dc8-ef96-413b-b8d0-bdeabf72a010" alt=""><figcaption></figcaption></figure>

Add a call-to-action button that directs customers to the target page specified in the **Card link** field. Add a **Label** then choose a **Button style** (Primary button/ Secondary button/ Underline button)**.**

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FJc1lwOVBDbkQyGjhGmJ2%2Fimage.png?alt=media&#x26;token=edc1179e-0784-47e3-83bd-0121f6b7e976" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FQwaF5vuvNnGyn9PJRWRG%2Fimage.png?alt=media&#x26;token=1a72a197-beb3-43cc-aa24-7fb5020470fd" alt=""><figcaption></figcaption></figure>

Furthermore, you can also modify the look as well as the position of the content by changing these properties:

* **Content position**: Top left/ Top center/ Top right/ Middle left/ Middle center/ Middle right/ Bottom left/ Bottom center/ Bottom right
* **Content alignment**: Left/ Center/ Right
* **Content spacing**: Small/ Medium/ Large

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F3JkZBUeM4IzUem8NUXVB%2Fimage.png?alt=media&#x26;token=8e3396a6-9a1b-48a8-bd13-f2ed78cac60c" alt=""><figcaption></figcaption></figure>

#### b) Mobile Layout

You can also adjust the **Color scheme** for the Image card block on the mobile device.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FZexRWJFL1IUNTL2ig0ZV%2Fimage.png?alt=media&#x26;token=4998ed7e-77bb-49e0-b41c-335c1632e185" alt=""><figcaption></figcaption></figure>

Especially, if you want to display a different card image on the mobile device, you can insert another image to the **Image** field.

You are able to display the content below or above the image by enabling/disabling the **Show content below image** checkbox.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FzniAxtRK3OSE9JCxCzfr%2Fimage.png?alt=media&#x26;token=c5a34f63-1f7c-4eec-bb7c-220df0d9cabb" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FznowbAIm2ypL0PCMpvQ1%2Fimage.png?alt=media&#x26;token=d0c22891-41bf-4f4a-bee6-2ce3d644639e" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Disable" %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FsL5pydvkLQIoLr2ntS3T%2Fimage.png?alt=media&#x26;token=44a748bd-772a-44cf-a9f6-5f21eb037c8d" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

Moreover, the block also allows you to change **Content alignment** (Left/ Center/ Right) on mobile.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F0Y6UYk1GjmCRuYvD4jfl%2Fimage.png?alt=media&#x26;token=16d4b174-8d61-4527-baeb-a2452a52080e" alt=""><figcaption></figcaption></figure>
