Support » Themes and Templates » Creating a basic child theme for twenty eleven (don't understand)

  • Resolved Revived

    (@revived)


    Why is this not working?

    /*

    Theme Name: Custom
    Theme URI: Site url
    Author: Me
    Author URI: My URL
    Template: twentyeleven
    */

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

    I’ve created a directing (in themes) entitled “custom” and when I browse to “Appearance”, “Themes” in admin, I see no trace of the custom theme. What is going on???

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you save it as the name style.css? You have to save this style.css in the new directory (in your case the directory is custom).

    If this doesn’t work, can you please copy the following codes and paste it to the newly created style.css without any modification and observe the result?

    /*
    Theme Name: Custom
    Author: Me
    Template: twentyeleven
    */
    
    @import url("../twentyeleven/style.css");

    Ok, that worked. No idea why I didn’t see it before. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Creating a basic child theme for twenty eleven (don't understand)’ is closed to new replies.