Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #399659

    Cherylwoodman
    Participant

    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?

    #399664

    Nabeel A
    Moderator

    Hi 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!

    #399685

    Cherylwoodman
    Participant

    Thanks 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?

    #399697

    John Ezra
    Member

    Hi 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!

    #399815

    Cherylwoodman
    Participant

    That’s great – thankyou!

    #399821

    Paul R
    Moderator

    You’re welcome! 🙂