Parent theme changes not in Child theme (5 posts)

  1. Birdseye
    Posted 1 year ago #

    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 :)

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. WPyogi
    Forum Moderator
    Posted 1 year ago #

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

  4. Birdseye
    Posted 1 year ago #

    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.

  5. Pioneer Web Design
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic