-
AuthorPosts
-
September 23, 2015 at 4:30 am #399659
Hi – I am just getting started with theme X, and I have downloaded the child theme folder. It appears empty when I follow this file path (x-child>x-child>framework>views>ethos). Can you help?
September 23, 2015 at 4:37 am #399664Hi there,
Child themes are by default empty, you’ll need to copy and paste the files from the parent theme to the child theme in order to customize them. Please refer to these links for further assistance https://codex.wordpress.org/Child_Themes and https://community.theme.co/kb/how-to-setup-child-themes/
Hope this helps!
September 23, 2015 at 5:02 am #399685Thanks Themeco! I will have a read through this. I did originally land on this page https://community.theme.co/child-theme/, which I though inferred the file would be already created?
September 23, 2015 at 5:15 am #399697Hi there,
Thanks for updating the thread! The child theme files are created with the folder structure. All a child theme does is pull in the files of the parent theme and then load any changes. X is a bit more dynamic than regular themes so it’s broken down to several pieces. You will need to check the framework/views directory in the parent and copy PHP files from there to the same folders on the child theme.
The stack folders (Integrity, Icon, Renew, Ethos) are already found within the views folder in the Child Theme. So all you need to do is copy the PHP file you would like to edit into the child theme and put it into the relative directory matching the parents. Once you have that, you can make your edits and those will override that parent’s files.
Hope this helps – thanks!
September 23, 2015 at 6:48 am #399815That’s great – thankyou!
September 23, 2015 at 6:56 am #399821You’re welcome! 🙂
-
AuthorPosts