Support » Fixing WordPress » Is this what is should look like?

  • [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    I have created a child theme using twentyeleven, but the css stylesheet has only this information.

    @charset "utf-8";
    /* CSS Document */
    Theme Name: Twentyeleven Child
    Description: Child theme for the twentyeleven theme
    Author: Spencer White
    Template: twentyeleven
    @import url("../twentyeleven/style.css");
    #site-title a {
        color: #009900;}
    .page .entry-title { display: none; }


    Is this correct?

    thanks in advance


Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    *Copies complete style.css into test installation*

    Yep, that’s working. 😉

    I thought the @charset "utf-8"; at the top might cause an issue but on my test installation it worked fine.

    Yea man you’re good to go.

    Heya spencerw,

    Just remember not to place any CSS code before the:

    @import url("../twentyeleven/style.css");

    or else you’re import function will not work and you’ll lose all the styling from the parent style.css page.


    Great, thanks everyone.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is this what is should look like?’ is closed to new replies.