• Resolved Jason Griffiths

    (@jason-griffiths)


    I currently have got theme updates disabled because I have made some slight changes to the theme to suit my requirements.

    There is an update for your theme for which I wish to apply BUT i know it will overwrite and changes ive made.

    What do i have to do to be able to apply update without effecting changes I have made?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Stop editing the theme and use a create a child theme for your changes instead.

    Thread Starter Jason Griffiths

    (@jason-griffiths)

    do i just copy over all of the original theme to the child theme?

    Thread Starter Jason Griffiths

    (@jason-griffiths)

    I have copied over the entire original theme (with my personal changes) to the child theme, and then activate the child theme and its worked ??

    can i now let the original Max theme update without effecting the child theme?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It’s worth carefully reading the Codex page regarding Child Themes that Esmi has linked.

    Thread Starter Jason Griffiths

    (@jason-griffiths)

    Ive only got to this bit – @import url(“../twentytwelve/style.css”);

    And got totally stuck. I do not want to damage the original max theme

    What are you stuck on? A child theme does not touch the original theme at all – that’s the point of using a child theme.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Why are you stuck with that @import line?

    Thread Starter Jason Griffiths

    (@jason-griffiths)

    did not understand where it was saying to put it.

    My knowledge of all this is very basic, and get lost very easily. Only been working on this stuff for 5 months, and still learning :/

    Perhaps you need to reread that entire page from the top – your child theme should only have 1 file in it to start with – and in that file should be:

    /*
    Theme Name:     Max Magazine Child
    Template:       max-magazine                             
    
    */
    
    @import url("../max-magazine/style.css");

    Once you have that set up and activated and we know it’s working, then you can move any changes you have made to the child theme. But one step at a time – that way it’s not so confusing or overwhelming :).

    Thread Starter Jason Griffiths

    (@jason-griffiths)

    ahhh i did that, but was putting the @import at the top and nothing happened :#

    so is what you have put the way it is ment to look?

    Yep :). Then you will put ONLY your changes to the CSS code after the @import line. How extensive have your changes been? Have you modified any other files besides style.css?

    Thread Starter Jason Griffiths

    (@jason-griffiths)

    only changes have been to speed of the main carousel and header image size, but took me ages to find how to do it. so did not want those changes being overwritten.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Which file are those changes in?

    Thread Starter Jason Griffiths

    (@jason-griffiths)

    to be honest i cannot remember, i would have to go back through the support pages to find out.

    im not that tech savvy, only done stuff via walkthrough help by support ??

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘theme update’ is closed to new replies.