Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #856068

    allancaeg
    Participant

    Looking to upgrade to the latest version of X (4.4.0) today, I saw here that updating X is simple if the changes I made are on a child theme.

    How do I do that? How do I make changes only to a child theme?

    #856073

    allancaeg
    Participant

    Better question: what kind of changes should be done to a child theme vs X Theme itself?

    #856131

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    For CSS and JS changes you can use the Custom CSS and JS box in Customizer instead of creating a child theme. For more in-depth changes that require editing php files, a child theme must be used. By creating a child theme, you create a separate set of files that you can use to customize the theme without affecting the original theme at all. Not only does this make updating easier, it also makes sure that you will never ruin your original theme as you are never actually modifying the files. For more information on setting up child theme, please walk-through following post:

    https://community.theme.co/kb/how-to-setup-child-themes/

    Thanks.