---
description: >-
  "Map" is a valuable section for displaying contact information with the store
  location.
---

# Map

{% hint style="success" %}
**Tip:** Use the "[<mark style="color:blue;">Information line</mark>](#information-line)" block to edit the section with the text content. You can add several blocks if you need to display a few text lines that will be placed on the left side of the screen in a column.

To hide the title or button, leave the corresponding fields blank. If you want to display the map in full screen, hide or remove the "Information line" blocks.
{% endhint %}

<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FtpVUdk3mgkRC4s33U7cW%2Fmap_width.png?alt=media&#x26;token=d8169225-f74d-4d12-8a76-6f0ffc22a9ee" alt=""><figcaption></figcaption></figure>

## Map

Use the **"Heading"** placeholder to add a section title.

The font size of the title can be changed to "Small", "Medium", or "Large" in the **"Heading font size"** drop-down.

If you need to set up the color of the title, use the **"Heading color"** picker. To change the information text color, use the **"Information color"**. Here you can paste the hex codes to the corresponding fields or choose colors using the paint pallet. The color settings will be used for both desktop and mobile.

If you want to showcase a button in the text block under all other content, paste the call-to-action text in the **"Label"** field. Leave the field blank to hide the button.

To redirect customers to the desired page, edit the **"Link"**. Use the link from the resource selector, or paste the one if you use an external link.

Here is how the described settings might display in a store:

<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2Fe96faWspM9BzTComqhow%2Fmap_text.png?alt=media&#x26;token=1a4c8f65-37fa-4f47-94d5-d02378677d38" alt=""><figcaption></figcaption></figure>

### Layout

The layout settings change the look and feel of the section.

To add a divider between sections, use the **"Dividing line"** to set the position: "Top", "Bottom", or "Both". The dividing line will be hidden once you use the option "None".

On the **"Top spacing"** and **"Bottom spacing"** scales, decide whether to add spaces at the top and bottom of the section. Control spacing settings from 0 to 100 pixels on each scale.

### Content

In the **"Map address"** field, add the local address that includes the city and country so that Google Maps can identify the accurate location of a store.

Use the **"Google Maps API key"** field to paste an API key generated by Google Maps. To get your Google Maps API key, follow the steps from the initial [<mark style="color:blue;">documentation</mark>](https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/map-section-api-key).

Select the desired map layout in the **"Style"** drop-down: "Default Google Maps", "Greyscale", "Dark", "Light", "Avocado", or "Blue water". View several examples of the map style below:

{% tabs %}
{% tab title="Greyscale" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2Fsh0xqs2sVeN6TbF7Utwi%2Fmap%20style_greyscale.png?alt=media&#x26;token=d3696280-4173-458a-a1be-d4d6e064998a" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Avocado" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FelenPA9k4dofwhRvt20P%2Fmap%20style_avocado.png?alt=media&#x26;token=c4b4f0ea-1b29-4f5e-a30a-3bd029d74152" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Blue water" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FtKlErXthcHotdFc4ET7e%2Fmap%20style_blue%20water.png?alt=media&#x26;token=ff3a62fb-1f18-4b5a-9da3-9e5ebcd83867" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

Place a pin to show the exact location of your store on a map by using the **"Show marker"** option.

The **"Show zoom"** slider lets you change the default map scale. Here you can set the value from 1 to 30 pixels.

As an alternative to the Google API key, you can paste an image. Choose the image by pressing the **"Select"** button to use the one from a theme library or upload a new image from a computer.

If you use an image to display a map, you can choose the image proportion in the **"Image ratio"** drop-down. This section includes a few options to use that work on both desktop and mobile: "Adapt to image", "Portrait", "Square", "Landscape", or "Circle". Each image ratio, you can check [<mark style="color:blue;">here</mark>](https://mpithemes.gitbook.io/unicorn-shopify-theme/dynamic-theme-sections#content).

### Colors

Use the **"Icon"** color picker to colorize the SVG icons.



In the following examples, you can view how the section might be displayed on desktop and mobile:

{% tabs %}
{% tab title="Desktop" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FRwzGX6h75wj1DkPJFFOS%2Fmap_desktop.png?alt=media&#x26;token=fe025460-8918-4829-915d-b398cfb0c99e" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Mobile" %}
<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2F7b77PJWbKJRDNyDg8wp7%2Fmap_mobile.png?alt=media&#x26;token=c12d2737-6ef3-497f-b09b-a1ad5bc3bc77" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

***

## Information line

The **"Icon SVG"** field is designed to link SVG icons that come with the theme or your custom SVG icons:

* To display the built-in theme graphics, add an icon name to the field. Learn how to operate the theme SVG icons [here](https://mpithemes.gitbook.io/unicorn-shopify-theme/icons).
* Use the provided field to paste the HTML code of your custom SVG icon. Refer to the following [<mark style="color:blue;">help page</mark>](https://mpithemes.gitbook.io/unicorn-shopify-theme/svg-icons#the-new-approach) for step-by-step instructions on the required modifications.
* Leave the field blank to hide an icon.

In the **"Icon image"**, select an image previously added to the Image Library.

The **"Text"** input field allows adding any informative text like address, telephone number, hours of operation, etc.



Here is how the block might be displayed in a store:

<figure><img src="https://2943342198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FysL5Hr1ZCl3x5RHWgJ3m%2Fuploads%2FFLITGqhba31zHBxw9tXX%2Fmap_info%20line.png?alt=media&#x26;token=08afc3dc-64c8-4efd-9cdf-5f6312d1fd75" alt=""><figcaption></figcaption></figure>
