# Edit theme code

Editing your theme's code provides an opportunity for in-depth customization of your Shopify store. Themes are constructed primarily using Liquid, Shopify’s proprietary templating language, but they also incorporate HTML, CSS, JSON, and JavaScript. It’s advisable to edit the code only if you are familiar with these languages and a basic understanding of Liquid.

Before making any modifications, it's recommended to **duplicate** your theme to create a backup. This precaution provides a safety net, allowing you to revert to the original settings if needed.

{% hint style="success" %}
**Steps:**

1. From your Shopify admin, go to **Online Store** > **Themes**.
2. Click **Actions** > **Edit code**.
   {% endhint %}

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


---

# 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://nextsky.gitbook.io/glozin-theme/shopify-knowledgebase/edit-theme-code.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.
