Retaining Customizations after Theme Updates


(Bhanu Sharma) #1

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?


(Daniela) #2

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.


(Bhanu Sharma) #3

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?


(Jay Pfaffman) #4

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


(Bhanu Sharma) #5

Any how-to reference on creating a child theme?


(Jay Pfaffman) #6

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.


(Bhanu Sharma) #7

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?


(Daniela) #8

Yes

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.

As you can see I have 25 component added to Material Design original theme


(Bhanu Sharma) #9

Thanks!

Trying it now! :slight_smile: