3

I followed the beginner steps for creating a child theme. The child theme was created and it appears as an option on my Themes page. But unlike the other Themes on the page (including its parent), there is no preview. The other themes ("Twenty Twelve," "Twenty Thirteen," and "Twenty Fourteen") are all listed with an image preview. My child theme ("Twenty Fourteen Child") does not have any image. The child theme can be applied without issue.

This issue arises when I create child themes from other themes as well. Any ideas why this is happening and if I can resolve?

1 Answer 1

4

Unfortunately this isn't covered in that codex page. These previews of the themes aren't auto generated. You will need to take a screenshot of your theme, and upload that screenshot to your root folder as 'screenshot.png'. This screenshot will be automatically used then as a theme preview pic for your theme.

I quote from the Theme Development page in the codex about screenshots for theme preview pic

Create a screenshot for your theme. The screenshot should be named screenshot.png, and should be placed in the top level directory. The screenshot should accurately show the theme design and saved in PNG format. The recommended image size is 880x660. The screenshot will only be shown as 387x290, but the over double-sized image allows for high-resolution viewing on HiDPI displays.

2
  • Did my question answer your problem. If so, please accept my answer by clicking on the check mark below the up/down arrows next to my answer. This will ensure that my answer not just help you, but others that will find this link. If not, is there anything regarding your question I can help with? Commented May 5, 2014 at 16:19
  • 1
    Thanks for the answer. Sorry for the late reply--I don't think I received an email notification regarding your answer.
    – cag8f
    Commented May 10, 2014 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.