> For the complete documentation index, see [llms.txt](https://halosoft.gitbook.io/ella-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://halosoft.gitbook.io/ella-documentation/theme-settings/adding-custom-css-to-your-theme.md).

# Adding custom CSS to your theme

CSS (Cascading Style Sheets) is coded file that selects elements of your page and controls their presentation. Think of your custom template's HTML as the bones of your website and the CSS as the skin of your site.

Please refer this article from Shopify for Adding custom CSS to your theme: <https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/add-css>

{% embed url="<https://www.youtube.com/embed/jDdnFSwhjcc>" %}

## 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.

**Steps:**

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/MlsyERN2rWfdGRmpPlZi" alt=""><figcaption></figcaption></figure>

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

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

## Add Custom Css in Section

Custom CSS can also be added to a specific section of your theme. For example, you can apply a custom font size or a background color to a single section.

**Steps:**

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 the section that you want to add CSS to.
4. At the bottom of the section properties panel, click **Custom CSS**.
5. Add your code and click **Save**.

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

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

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