Creating a child theme – theoretical question
-
Please forgive this newbie question.
I started creating a WP site using the basic twentytwelve template, and made some modifications to the .css before being cautioned to make a child theme with its own .css. I understand that a child theme can contain as little as a .css file.
My theoretical question is this. Since I tweaked the original theme folder, could i not just make a copy of that parent theme folder, give it a child name, and then place it within the parent folder. Because it is a copy of the parent theme folder, its (child) .css would be an exact copy of the parent’s .css. I would then give that child .css a child name and ask it to import styles from the parent. Since I had modified the parent css, the child css would already include those modifications, right? Going forward, this child css would be the file to edit, and if WP was updated, my changes, now in child .css, would not be lost.
The css is the only parent file I have been editing. Should I be concerned about including other files, or plugins. I am assuming that a Custom Menu would transfer over with a new update, but I’m not sure. I don’t have a real sense of what might be lost, other than css styling, with an update.
Can you clarify this.
Thank you.
The topic ‘Creating a child theme – theoretical question’ is closed to new replies.