• Hi,

    I have managed to work out how to do a ‘child theme’ but when I go into WordPress Themes, the child theme is there next to parent, but it is just a blank square, and doesn’t show the parent theme as is.

    When I activate child theme and go to editor, should I see the same ‘Templates?’

    I am confused, as child theme template just shows ‘stylesheet’ with the information I put into FTP.

    and says ‘this child theme inherits templates from a parent theme’.
    I am not sure what this all means, actually.

    /*
    Theme Name: Clean Retina Child Theme (this is the theme I am using)
    Theme URI: http: //mysite.com/
    Description: This is a custom child theme I have created.
    Author: name
    Author URI: http: //mysite.com/
    Template: clean-retina
    Version: 0.1
    */
    @import url(“../clean-retina/style.css”);

    Above is what I have put in filezilla ‘child directory’ style.css folder.

    Can someone please tell me if I have done something wrong, or if what I am looking at is correct.
    I don’t know how to make the site look the same, adding the changes I made to the parent.
    And there are some things I would of expected to be there as they are a part of the theme.

    Any help will be gladly appreciated.
    🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’ve done everything correctly. When you use the Editor (Dashboard > Appearance > Editor), it only shows you files that currently exist in the current theme’s folder. If you’d like to be able to edit files from the Editor, you should use FTP to copy the files from the parent theme’s folder into the child theme’s folder.

    As for your first question, WordPress will generate a theme preview (Dashboard > Appearance > Themes) from a file named screenshot.png in the theme’s folder.

    Thread Starter ameljor322

    (@ameljor322)

    Thank you Stephen for your quick reply and good to know I am on the right path! 🙂

    Thread Starter ameljor322

    (@ameljor322)

    Stephen if your still around? Can you tell me how to copy a file from the parent directory into the child?
    thanks

    Does your host offer cPanel or a similar file-management application? If you’re unsure, I recommend asking your hosting provider.

    Thread Starter ameljor322

    (@ameljor322)

    Thanks, it’s ok I worked it out 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘child theme’ is closed to new replies.