So I made a few tweaks to my theme directly in the stylesheet before I learned about child themes and the theme companion. I want to build a child theme now before I make more changes to ensure I retain those changes. I have two related questions.
First, if I import my parent theme css file into my child theme css file and then the parent theme is updated, will those changes I have already made to the parent’s css be lost?
Second, is there any reason why I shouldn’t just copy and paste the parent css into the child css file? Since the child theme always replaces the parent theme, it would seem to make no difference if the child css includes the entire parent css, instead of just importing it. Furthermore, if the answer to my first question is “yes”, this would seem to be an easy way to make sure my changes aren’t lost.
- The topic ‘Building a child theme if I've already made changes to the parent’ is closed to new replies.