WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating a basic child theme for twenty eleven (don't understand) (3 posts)

  1. Revived
    Member
    Posted 3 years ago #

    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???

  2. maqtanim
    Member
    Posted 3 years ago #

    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");
  3. Revived
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.