Child Themes/Updates
-
I’m new to WordPress (although not new to CSS and HTML) and have a basic question on using Child Themes.
I started to customize my VisitPress theme on the parent .css style sheet. Remembering that I was advised to create a Child Theme so that I wouldn’t lose changes in an update, I created a Child Theme that is now feeding from the Parent theme. That part seems to be working fine.
However, I haven’t updated the theme yet as the changes are on the Parent Theme and it would make sense that I would lose them in the update and the updated style sheet would feed to the Child Theme.
If I am right my question would be how to resolve this –If I copy and paste the changes made on the parent style sheet onto the child style sheet would this prevent the loss of the changes? Since I can’t remember what I changed exactly, can I copy and past the entire style sheet onto the new one? If I do, should I remove the @import url(“../VisitPress/style.css”) ?
If I’m wrong, there is something that I’m just not getting.In the future should I create the Child Theme at the beginning and make all the changes on the new style sheet.
These are pretty basic questions. I could find a lot of info on setting up a child theme, but not much that would answer these questions.
- The topic ‘Child Themes/Updates’ is closed to new replies.