WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Child theme - failure to recognise (2 posts)

  1. vizion2000
    Member
    Posted 2 years ago #

    I have created the following directory:
    wp-content/themes/twentyeleven/twentyeleven-child/

    in which I have placed a style.css file:

    File contents:

    /*
    Theme Name: Twenty Eleven Child
    Author: David Southwell ARPS AFIAP
    Author URI: http://www.seniorearners.org/
    Description: Child theme for Twenty Eleven for http://www.seniorearners.org
    Template: twentyeleven
    Version: 0.1.0
    */
    
    @import url("../style.css");
    
    #site-title a {
    color: #009900;
    }

    On the dashboard appearance>themes there is no sign of the child theme.

    Questions:
    1. The base theme is located as follows
    wp-content/themes/twentyeleven/style.css
    and as the style.css for my child is in
    wp-content/themes/twentyeleven/twentyeleven-child/
    I have shown the import url as ("../style.css")
    Is that correct?

    2. I have tried switching in and out of the twentyeleven theme. But the child theme does not appear for selection.
    Do I have to do something else to get it recognised?
    Note all files are owned www:www and are -rw-r--r--

    Incidentally I am using version 3.4.1 on a freebsd 8.2 amd64 system

    Thanks in advance
    David

  2. vizion2000
    Member
    Posted 2 years ago #

    OK durrrrrrr put directory in wrong place!

Topic Closed

This topic has been closed to new replies.

About this Topic