WordPress.org

Support

Support » How-To and Troubleshooting » Is this what is should look like?

Is this what is should look like?

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

    Hi,
    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

    Spence

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

    @jdembowski

    *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.

    Andrew Bartel
    Member

    @andrew-bartel

    Yea man you’re good to go.

    James Kirk
    Member

    @boldlygoing

    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.

    Cheers!

    Great, thanks everyone.

    Spence

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