• questuk

    (@questuk)


    I am trying to create a twentyeleven child theme. I have done everything correctly but for some reason in my dashboard it saying themes must have a template and stylesheet. I have copyed this from notepad so please can you have a look to see if there any mistakes I made? And how I can correct them thank you

    /*
    Theme Name: Twenty Eleven Child
    Theme URI: https://example.com/
    Description: Child theme for twenty eleven
    Author: Mark
    Author URI: Mark
    Template: twentyeleven
    Version: 0.1.0
    */

    @import url(“../twentyeleven/style.css”);

    #site-title a {
    color: #009900;

    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • It looks fine, how did you upload the theme?

    David

    Thread Starter questuk

    (@questuk)

    Hi David, I went to file manager. wp content then to themes. I created a folder called twentyelevenchild. Uploaded this folder then i selected the file style.css from my documents and downloaded it. I am new to this so i don’t know if that’s the way of doing it but after doing some research I thought it was. Your thoughts plz.

    This is the second question like this in 24 hours, it sounds like it is ok.

    In the file manager you have both like this:
    /wp-content/themes/twentyeleven/syle.css
    /wp-content/themes/twentyelevenchild/syle.css

    David

    Thread Starter questuk

    (@questuk)

    Exactly right. I also have twentyten and nest themes listed. I am selecting twentyelevenchild but for some reason style.css file wont upload into the twentyelevenchild folder. The twentyelevenchild folder is empty. I don’t understand.

    Have a look at this topic from yesterday!

    HTH

    David

    Thread Starter questuk

    (@questuk)

    Ok thanks for your advice David been a great help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Child theme not working’ is closed to new replies.