Support » Fixing WordPress » Parent theme changes not in Child theme

  • Hello. I need some explanations and I hope this is the place. I have a premium theme. I added a search widget to my header, beside my logo, as well as a page list widget to my extended footer.
    Then, I realized I need to create a Child theme, which I did. I also exported from tools and appearances two files json, and xml from the parent theme.
    When I activated the child theme, I lost all those changes, but my posts and logo are still there, even after I uploaded the two files into the child.
    Not too drastic a problem but, every time I change a widget configuration or position for instance, am I correct in that these changes will not be saved to the new child theme? They are in the parent theme?
    I’m asking because I just finished rebuilding the site, same theme, with a new focus in mind, but the parent theme was customized and almost exactly, or nearly the same as the old child theme! So what’s the point of a child theme if the parent gets changed anyways?
    Boy I hope someone can follow that…I’m not sure if even I do 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Forum Moderator

    am I correct in that these changes will not be saved to the new child theme?

    Widgets are saved on a per-theme basis and, in this respect, a child theme is treated just like any other theme. It will not inherit the parent’s widget settings.

    You need to make a child theme, ACTIVATE the child theme and then don’t do anything else in the parent theme.

    Alright, thanks. The last creation, when looked at it in firebug or googles editor, showed me css and html code locations in the parent theme. Where do I change these if not in the files that are referenced?
    For instance, perhaps the padding was a little too much on an image, or a text reference needed to be re written.

    The stylesheet in your Child Theme overrides the styles in the Parent Theme. So will theme templates and functions used properly in function.php. It is a powerful method to have a totally unique site based on good code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parent theme changes not in Child theme’ is closed to new replies.