# Editing your theme

{% hint style="info" %}
Before you can begin editing the template code, you need to create a clone of the theme.
{% endhint %}

This guide is for people and organizations who would like to edit the theme or alter some elements. If you try to access the edit screen for the main version of the theme shared with your nation you will see a permission denied error. This is because the theme is administrated centrally and admins can only edit themes that live in their nation.

## Cloning your new theme:

1. Follow the steps in our guide [*Activating your new theme*](https://docs.codenation.com/ready-to-launch/activate-your-theme) using your existing site or a brand new site. &#x20;
   * If your existing site is already published, we highly recommend opting for a brand new site to avoid any potential issues with the live site's appearance.
2. Navigate to **Websites > Your Site** in NationBuilders sidebar

<figure><img src="/files/-LhYWinTaWCl8Tt5nnbd" alt="Finding your site" width="563"><figcaption><p>Finding your site</p></figcaption></figure>

3. Using the tab menu click **Theme** then select **New Custom Theme** button.

<figure><img src="/files/zKXsGcCwHVwRJopOEs9E" alt="Adding a New Custom Theme" width="563"><figcaption><p>Adding a New Custom Theme</p></figcaption></figure>

4. You will now be redirected to a small form where you can name your cloned theme and select the option to clone from the current theme.&#x20;
   * **Note:** It may take several minutes for the theme cloning process to complete.&#x20;
5. Now that the cloning process is complete you can navigate to the "Current custom theme" tab to edit the theme files and make any changes you wish to apply to your version.

*Please note that we are unable to provide support for custom versions of our themes.*


---

# 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://docs.codenation.com/campana/ready-to-launch/editing-your-theme.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.
