- This topic has 5 replies, 3 voices, and was last updated 2 years, 11 months ago by
David.
-
AuthorPosts
-
March 25, 2023 at 11:57 am #2581944
Kelsey
Hello,
First time WP rookie. I am just getting ready to launch my new GP site and noticed the GP theme update. I had no idea I should’ve created a child theme to customize my site so I could update the theme without losing my customizations. I have made a lot of changes in the customizer area, and I have several plugins that may have modified things further (I don’t know). It looks like I have 51 lines of “Additional CSS” if that’s noteworthy.
Any recommendations on how I can right this ship and be able to update GP without starting over?
Thank you.
March 25, 2023 at 2:13 pm #2582011Leo
StaffCustomer SupportHi Kelsey,
Can you take a look at this article first and see if it answers your question?
https://docs.generatepress.com/article/using-child-theme/In short, a child theme is only needed if you are modifying the parent theme’s core files.
If you are just changing some customizer settings and adding some CSS then you don’t need a child theme.
Let me know if you need more info 🙂
March 25, 2023 at 2:59 pm #2582055Kelsey
Hi Leo,
Thanks for the quick reply. I’m breathing a little easier! I can see 55 lines of “Additional CSS” that I didn’t manually add myself. They pertain to 7 minor things like a few button styles and some padding or drop shadows. My site is backed up (Updraft Plus) and I exported my customizer settings and XML file for the entire site. Do you think I’m safe to update the theme version?
Many thanks.
March 26, 2023 at 4:46 am #2582478David
StaffCustomer SupportHi there,
changes that are:
a) made to the Customizer, including the Additional CSS
b) made by a plugin
c) made by adding PHP or CSS to a child theme or via a pluginAre all saved in your database and are a safe way to make changes. And those changes will remain when the theme or plugin is updated.
The only changes that will be lost are any code changes that were made to the Theme or Plugins files. If you haven’t done that, and we recommend you don’t, then again all is ok.
So feel free to update.
Child Themes are only necessary if you want to add your own code or files into your site.
For example a folder to store local fonts, or a PHP template for a custom post type, or you like to keep your CSS and PHP Snippets in one place.March 26, 2023 at 1:57 pm #2583203Kelsey
Thanks! Update completed without issue. Appreciate the prompt support.
March 27, 2023 at 3:28 am #2583787David
StaffCustomer SupportYou’re welcome – glad we could be of help!
-
AuthorPosts
- You must be logged in to reply to this topic.