Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21330
    ourag
    Member

    Just wondering how you make a child theme, and what exactly are the steps to uploading and using it.

    #21353
    Sakin
    Keymaster

    @ourag: See this for child theme https://codex.wordpress.org/Child_Themes
    Ok I am going to show you the steps and in this step we will finally create child theme of Catch Box Theme.
    1. First you need to create folder with name example: catch-box-child
    2. Then create style.css file inside the folder catch-box-child . In you child theme style.css there are 2 things that you need to focus on 1) Template: catch-box, it should be your parent theme folder name and 2) `@import url(“../catch-box/style.css”);` importing parent theme sytle. For example, your style.css file should be as https://gist.github.com/catchthemes/9552857
    3. Then you can zip the folder and upload like a new theme using WordPress admin panel theme uploaded or you can simply upload the folder from FTP.

    #25795
    kymo
    Member

    Hello Sakin. I am using catch-evolution-pro. I thought I followed your instructions but it broke my theme.
    What I did: I created a child theme named style.css and uploaded it into a folder named catch-evolution-pro-child. I put the folder inside the themes folder in wp content.

    The error was;
    [15-Apr-2014 19:33:38 UTC] PHP Warning: implode(): Invalid arguments passed in /home3/cityoft4/public_html/wp-includes/class-wp-theme.php on line 675

    Any idea what I did wrong? I really want a child theme but now I’m too scared to try again. I had to get Bluehost to fix the site for me.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘child theme’ is closed to new replies.