# Retaining Customizations after Theme Updates

**URL:** https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679
**Category:** Support
**Created:** [November 23, 2017, 12:36pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679 "2017-11-23T12:36:14Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 23, 2017, 12:36pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/1 "2017-11-23T12:36:14Z")

</div>

Hey!

Couldn’t find anything relevant in this regard but is there a way so that Themes Installed through github could be updated in a way that changes made to the header and body sections could be preserved?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [November 23, 2017, 1:04pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/2 "2017-11-23T13:04:00Z")

</div>

In the same stylesheet of the original theme is not possible, for what I know. But you can add your changes in another stylesheet and then add it as a theme component.  
In this way when you update the theme from github your changes will be preserved and not overwritten.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 23, 2017, 1:13pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/3 "2017-11-23T13:13:12Z")

</div>

Like importing a 3rd party stylesheet?  
Actually there is a lot of header code on one of my projects (navigation links & Stuff)

is it possible to retain those and still somehow update theme?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 23, 2017, 1:35pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/4 "2017-11-23T13:35:28Z")

</div>

Make those changes in a child theme that is included from the master.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 23, 2017, 1:36pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/5 "2017-11-23T13:36:42Z")

</div>

Any how-to reference on creating a child theme?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 23, 2017, 1:39pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/6 "2017-11-23T13:39:35Z")

</div>

Sorry. It’s not called child theme. It’s “theme components” best the bottom of the theme settings.

Make each change in a separate theme and include it in the main themes.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 23, 2017, 1:41pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/7 "2017-11-23T13:41:49Z")

</div>

I’m Using material design theme from Github!

So it is the Main theme?  
where do I make changes? (Material theme says changes will be deleted on theme update)  
I Found that theme components feature but how to use it?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [November 23, 2017, 2:04pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/8 "2017-11-23T14:04:39Z")

</div>

> [@itsbhanusharma](#):
>
> So it is the Main theme?

Yes

> [@itsbhanusharma](#):
>
> where do I make changes?

In your admin panel under “themes”. Click on New, add all the things that are not inside the original material design theme, click Save.  
Then click on Material design main theme, go to **themes component** , choose your new stylesheet and add it.

 ![](https://global.discourse-cdn.com/meta/original/4X/1/a/6/1a6237b147d220f8a6b73225eb3b01bfa82ce108.png)  
As you can see I have 25 component added to Material Design original theme

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 23, 2017, 3:07pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/9 "2017-11-23T15:07:35Z")

</div>

Thanks!

Trying it now! 🙂

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:43pm UTC](https://meta.discourse.org/t/retaining-customizations-after-theme-updates/74679/10 "2024-06-08T12:43:52Z")

</div>

This topic was automatically closed after 2389 days. New replies are no longer allowed.
