# Customizing messages

Most of the messages that Locksmith shows to your customers on the front end of your store are completely customizable!

You can edit the text itself as much as you need, plus you can add code, just like you would a template in your theme. That means you can use the following:

* HTML
* CSS (via the \<style> tag)
* Javascript (via the \<script> tag)
* Liquid ([Shopify's template language for themes](https://shopify.dev/docs/themes/liquid/reference/basics))

{% hint style="info" %}
If you are wanting to add translations to your messages, [check out our dedicated guide on that here](/tutorials/more/adding-translations-to-your-locksmith-messages.md).
{% endhint %}

In general, your messages can be edited in two places...

## Lock-specific messages:

\
To customize your messages for one lock only, go to the lock page and scroll down to the "Messages" area.

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

## Default messages:

You can also customize the default messages, which will be used for all applicable locks when a lock-specific message is not present. To edit these, head over to the "Content" area of the "Settings" page:

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

\
Messages that [require a customer account](/keys/customer-account-keys.md):
---------------------------------------------------------------------------

\
Locksmith will only show the type of messages in the "Messages" area that apply to the key conditions you've selected in your lock(s). Most of the key conditions in Locksmith use customer data, and therefore require a sign in. In these cases, Locksmith will show you the following two editable messages:

* **Guest message content**: shown to customers that are not yet signed in.
* **Access denied content**: shown to customers that are signed in, but don't meet the requirements for the lock (e.g. don't have the specific customer tag that is required for access, if applicable)

\
Passcode and newsletter key conditions:
---------------------------------------

\
There are two other types of messages that will show up if you have selected the applicable key conditions:

* **Passcode prompt**: for ['passcode' conditions](/keys/passcode-keys.md) only.
* **Newsletter prompt**: for [Mailchimp and Klaviyo conditions](/keys/more/newsletter-keys.md) only.

\
These conditions both show a special prompt to the customer, asking for their submission before continuing. You can customize the message in the same places as outlined above.

#### Condition-specific messages

For merchants that have multiple passcode or newsletter conditions *in one lock*, you can customize the messages at the condition level. This is done inside the condition popover in the input labelled "Custom input prompt, as shown below.

**In most cases, you won't need to set the prompt at the condition level - simply use the lock level messages, as shown above - this is a convenience feature for when it's needed**.

<figure><img src="/files/5MmtRp0Aj5lSS6EJ3WHe" alt=""><figcaption></figcaption></figure>

**Important**: If a message is set at this level, it will override any messages set at the other levels. If this is the case, you'll see a warning, just to let you know what's going on:

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

## Customizing the Continue button and loading message

Additionally, you can customize the submit buttons and loading text. To do this, head over to your theme's "Edit default theme content" settings:

![](/files/p7kHuYHQsxhYiIZc6WeO)

... and open the "Locksmith" tab:

![](/files/HcGFX9ZYCbvL884cMOUG)

Locksmith will use the values you customize here when displaying content to your visitors.<br>

***

While we cannot make extensive custom edits to your form for you, if you have any questions you can contact us via email at **<team@uselocksmith.com>**

## Related articles:

{% content-ref url="/pages/xbxhHadjI7Iip4aWc2rq" %}
[Customizing the customer login page](/tutorials/more/customizing-the-customer-login-page.md)
{% endcontent-ref %}

{% content-ref url="/pages/EetOspcpGCRq9p3wY9Fi" %}
[Customizing the passcode form](/tutorials/more/customizing-the-passcode-form.md)
{% endcontent-ref %}

{% content-ref url="/pages/9OqKmRBcX77ody3p6kr5" %}
[Customizing the email list signup form](/tutorials/more/customizing-the-email-list-signup-form.md)
{% endcontent-ref %}

{% content-ref url="/pages/aGfqo2XVdHpo4Z5mXBsa" %}
[Customizing the registration form](/tutorials/more/customizing-the-registration-form.md)
{% endcontent-ref %}

{% content-ref url="/pages/aP8lIk1Bb966HCf6shyh" %}
[Adding translations to your Locksmith messages](/tutorials/more/adding-translations-to-your-locksmith-messages.md)
{% endcontent-ref %}

{% content-ref url="/pages/YtpR0xAXeb47E9sEPG1d" %}
[How do I add a hero banner image to Locksmith's access messages](/faqs/more/how-do-i-add-a-hero-banner-image-to-locksmiths-access-messages.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://www.locksmith.guide/tutorials/more/customizing-messages.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.
