- This topic has 5 replies, 2 voices, and was last updated 3 years, 4 months ago by
Leo.
-
AuthorPosts
-
November 28, 2022 at 12:39 pm #2439750
Chris
I have a fresh default install of WP I’ve added GP to, I changed the theme to the “Info” theme from the Site Library. I was looking at the child theme docs and see the blank slate theme available for download. Would the “Info” theme elements still apply if I went that route?
My goal is to use the “Info” theme from the Site Library as my initial foundation to start customizing quite a bit and want to ensure I can still get GP updates with minimal risk of overwriting / breaking anything. Most of my customization will be in trivial places like the Custom CSS or page specific stuff that won’t touch theme files, but a little bit will.
Am I on the right track or no? Thanks for your time!
November 28, 2022 at 12:46 pm #2439764Leo
StaffCustomer SupportHi Chris,
Most of my customization will be in trivial places like the Custom CSS or page specific stuff that won’t touch theme files, but a little bit will.
In that case, I don’t think you need a child theme – a child theme is really only needed when you want to edit the theme files.
Custom CSS can be added using the Additional CSS field in the customizer (WP core feature):
https://docs.generatepress.com/article/adding-css/#additional-cssLet me know if this helps 🙂
November 28, 2022 at 2:11 pm #2439885Chris
Yea there will be some cases where I will need more control and likely be editing theme files. While still being able to keep the theme core updated with little hassle. That’s the hope anyway, is this possible while keeping the “info” theme from the site library as the base foundation?
I have used the method from the documentation on other sites using the blank theme as a child and building it up from there, but curious if I can try it the way mentioned to save a little trouble on this one?
November 28, 2022 at 2:19 pm #2439895Leo
StaffCustomer SupportTo use a child theme after importing the site library template, you just need to:
1. Copy the CSS that was imported in the Additional CSS field in the customizer of the parent theme.
2. Install and activate the child theme:
https://docs.generatepress.com/article/using-child-theme/3. Paste the CSS from #1 to either:
– The Additional CSS field in the customizer of the child theme.
– Thestyle.cssfile of the child theme.November 28, 2022 at 3:20 pm #2439987Chris
Awesome thank you!
November 28, 2022 at 3:43 pm #2440011Leo
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.