# Edit theme code

You can edit your theme code to make detailed changes to your online store. Most of the files that make up a theme contain [Liquid](https://shopify.dev/api/liquid), Shopify's templating language. Theme files also contain HTML, CSS, JSON, and JavaScript. Edit the code for a theme only if you know HTML and CSS, and have a basic understanding of Liquid.

Before you customize your theme, it's a good idea for you to [Duplicate your theme](https://help.shopify.com/en/manual/online-store/themes/managing-themes/duplicating-themes) to create a backup copy. This makes it easy to discard your changes and start again if you need to.

To edit your theme code, please follow the steps:

{% hint style="success" %}
**Step**

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

<figure><img src="/files/1PqHFO1jHI82vhhoR5cS" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/3mpGWPDrF5EThDSi7lyr" 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://blueskytechcos-organization.gitbook.io/umino-shopify/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.
