5 replies
  • WEB DESIGN
  • |
If you want to create a child theme can this be done after the site has already been created? I created my site, but realized I should have used a Child Theme to make changes without my changes being deleted during updates.

This is for the Customizr Theme if that makes a difference.

Thanks
#child #question #theme
  • Profile picture of the author KateHunter
    If you have made any changes to the themes files you see in Appearance> Editor, such as styles.css or any of the php files of the theme, then you need a child theme to be able to update your theme without losing your customizations. You can make a child theme now and add the changes you made to the child theme.
    {{ DiscussionBoard.errors[9488538].message }}
    • Profile picture of the author accessted
      I have not made any changes yet. If I create a child theme will it automatically take the parent themes place? I mean will all my content and everything transfer over? or do I have to do something more to transfer it over?

      Thanks
      {{ DiscussionBoard.errors[9488551].message }}
      • Profile picture of the author RobinInTexas
        Originally Posted by accessted View Post

        I have not made any changes yet. If I create a child theme will it automatically take the parent themes place? I mean will all my content and everything transfer over? or do I have to do something more to transfer it over?

        Thanks
        If you create the child theme correctly and activate it, nothing will change except the active theme will be the child theme.
        Signature

        Robin



        ...Even if you're on the right track, you'll get run over if you just set there.
        {{ DiscussionBoard.errors[9491651].message }}
  • Profile picture of the author KateHunter
    The child theme inherits its functionality from the parent theme. So you need the parent theme installed for the child theme to work. You only need to put the files you have customized into your child theme, so the files in your child theme override what is written in the parent theme. Not all themes make good parents! And some themes have a child theme ready made so you just upload it. I am not familiar with your theme, but you only need a child theme if you make changes to the functions.php file style.css file or other theme files. And if you are just changing the style.css you might find it easier to use a Custom CSS plugin.
    If you have just uploaded your own logo, changed theme colors etc, via your theme settings interface then you don't need a child, these changes should not be lost when you update your theme.
    {{ DiscussionBoard.errors[9488567].message }}
  • Profile picture of the author copilu0
    Just create a new style.css (check the Codex for child themes) and put the file in a folder named something like customizr-child. Activate the new theme and everything should remain the same as before.

    If you already made changes tot the original files then make sure you copy the modified files to the new directory. Also to make sure everything works ok you can upload your original theme again with no changes made.
    {{ DiscussionBoard.errors[9491626].message }}

Trending Topics