---
title: "Extending a custom style"
date: "2017-11-10T16:02:06+00:00"
summary: "Learn how to extend custom styles in Site Studio, inheriting CSS properties from parent styles. Optimize your website's performance and create consistent designs efficiently with this step-by-step guide."
image:
type: "page"
url: "/drupal-starter-kits/add-ons/site-studio/extending-custom-style"
id: "c82a62c2-992b-4670-a95a-bba4a69159cb"
---

You can create Custom styles that extend a parent Custom style. Extended styles will inherit all the CSS properties from the parent Custom style. You only need to add the CSS properties you want to add or override.

For example:

*   Extend a Button custom style to create another button style with a different background color
*   Extend a Paragraph custom style to create another paragraph style with a different font size

Important

Extending a Custom style rather than creating a new Custom style creates less CSS and a smaller CSS file, which helps the loading speed of your website.

Extend a Custom style
---------------------

To extend a Custom style:

1.  Navigate to Site Studio > Styles > **Custom styles**
2.  Click **Extend style**
3.  Edit the name of your **Extended custom style**
4.  Add only the CSS properties you want to add or override from the parent style. All other properties will be inherited from the parent style. For more information about adding properties, see [Using the style builder](/drupal-starter-kits/add-ons/site-studio/using-style-builder "Using the style builder")
5.  Click **Save**

![236c5ffe-extending-a-custom-style.png](https://acquia.widen.net/content/c7447737-8ae3-4161-ba9d-72f2b1eed3c3/web/236c5ffe-extending-a-custom-style.png)

Extended custom styles will appear as children of the parent Custom style in the Custom style list.

![8db667b4-extending-a-custom-style-result.png](https://acquia.widen.net/content/24d3631a-1000-4061-b25a-8e3fe1a55ea2/web/8db667b4-extending-a-custom-style-result.png)

Edit, duplicate and delete an Extended custom style
---------------------------------------------------

*   Navigate to Site Studio > Styles > **Custom styles**
*   To edit an Extended custom style click **Edit**
*   To delete or duplicate an Extended custom style click **Duplicate** or **Delete**
*   You cannot extend an Extended custom style.