Forums

Problems With Creating A Child Theme TwentyEleven (6 posts)

  1. trethousandgt
    Member
    Posted 4 months ago #

    So I followed the steps to creating a child theme based on this tutorial

    http://wordpress.org/extend/plugins/twenty-eleven-theme-extensions/

    but my site http://www.defynewyork.com wound up looking like this when i previewed the theme (I never activated the child theme)

    http://i180.photobucket.com/albums/x117/trethousandgt/Screenshot2012-01-27at63001PM.png

    Any idea what I could be doing wrong?

  2. Michael
    Member
    Posted 4 months ago #

    The style.css is missing or corrupted.

    Michael

  3. trethousandgt
    Member
    Posted 4 months ago #

    Hey Mike,

    I just did a notepad file and entered this

    /*
    Theme Name: Twenty Eleven Updated
    Description: Child Theme For The Twentyeleven theme
    Template: twentyeleven
    */

    simport url("../twentyeleven/style.css"):

    then I uploaded it the themes area in my cpanel.

    When you say its corrupted do you think my actual site is corrupted or jus tthe child theme

  4. Michael
    Member
    Posted 4 months ago #

    Hard it say but it is likely just the style.css

    There is a typo in the import line, the s should be a @ and the colon at then end should be a semicolon.

    Michael

  5. trethousandgt
    Member
    Posted 4 months ago #

    Hmmm tried that and its still the same problem, can't figure out what it could be

  6. bitkahuna
    Member
    Posted 1 month ago #

    if you had the @ and ; right as pointed out by Michael, it should work. preview isn't always perfect either, but i'd give it a go with activate, and if it still doesn't look right when you go to the actual site, just switch back to the theme you've been using.
    i've done a child theme of twentyeleven. i'm kinda wishing i hadn't though because twentyeleven does some monnumentally stupid things and so it requires a LOT of redefining to do what you want. on the upside though it does do auto checking for IE6,7,8,9 etc.

Reply

You must log in to post.

About this Topic