# Adding custom CSS to your theme

In this field, we already split to some responsive devices like **Global Custom CSS; Custom CSS for only desktop; Custom CSS for tablet, mobile; Custom CSS for only tablet; Custom CSS for only mobile**. You can write your code to the correct field.

**For example**: You want to change the Background color for Shopping Cart Widget and displays it on all devices, you can add this Code to **Global Custom Css**.

### 1. Add Custom Css in Theme Settings

Custom CSS can be added to your entire theme that affects all pages in your online store except the **Checkout** page. For example, you can change the way that buttons are displayed across your entire store.

1. In your Shopify admin, go to **Online Store** -> **Themes**.
2. Find the theme that you want to edit, and then click **Customize**.
3. Click **Theme settings -> Custom Css**.
4. Add your code and click **Save**.

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

{% hint style="info" %}
Your css will be saved in **settings\_data.json** file
{% endhint %}

<figure><img src="/files/eVZKnSPZE5OcfZoOlYTl" 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://templatescoder.gitbook.io/belliza-documentation/theme-settings/adding-custom-css-to-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.
