Create a graphene child theme with all the content ?
To create a child theme we need at minimum the style file (style.css). Since graphene contains more than one Style.css, I’m wondering if we can create a child theme with, non the one css file but all the content of Graphene!
Could I copy/paste all Graphene theme contents and rename it to Child theme, or we should to create it with the css files only?AdminQuote:Could I copy/paste all Graphene theme contents and rename it to Child theme,
No, don’t do this. It defeats the purpose of making a child theme.
All of the theme’s CSS files are loaded as needed, but you can make customisations in the child theme via that single
style.cssfile. You can also add additional CSS files in your child theme if necessary.
OK, thank you very much.
So, I just copy the CSS content from the parent to the child theme and customize the child CSS file, right?
And just to be sure, could we make the child theme at any moment? I mean, after having made many customization or it should be made immediately after installation?AdminQuote:So, I just copy the CSS content from the parent to the child theme and customize the child CSS file, right?
No, don’t do this either. It’ll break a lot of things. The child theme’s
style.cssfile should only contain CSS codes to override the original theme styles, or add new styles.Quote:And just to be sure, could we make the child theme at any moment? I mean, after having made many customization or it should be made immediately after installation?
It can be made at any time. The purpose of a child theme is to make customisations to the parent theme without actually editing the parent theme’s files. If you can make all the customisations from the admin screen, then there’s no need for a child theme (in most cases), and you’ll be perfectly fine without one.
See this page for more information:AdminQuote:OK, I actually like, and prefer, the customization via the admin screen!
So, I much appreciate Graphene for this customization easiness.
Thank you very much.
That’s the idea 🙂 But be aware even though there’s a lot of customisation possibilities provided by the theme via the admin screen (you should really take a look at the theme’s Action Hooks Widget Areas option if you haven’t already), customisation via a child theme opens up a whole other world of possible customisations. But it does require you to be rather proficient with CSS and PHP.
But take it one step at a time. When you’re bored with the admin screen, take the next step. No rush 🙂
- You must be logged in to reply to this topic.