• Resolved Tethros

    (@tethros)


    Hello all. I’ve been experimenting with creating child themes with Twenty Ten. While I finally got my child theme to install without error, it seems to strip all of the formatting from the parent theme; all the content and menus and whatnot just run along the left side.

    To create the child theme, I just used the import function. Any ideas as to what might be cause the issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The template tag in the style.css refers to the parent themes folder name in a child theme like /wp-content/themes/twentyten and not the theme name Twentyten.

    This is case sensitive and should be the folder name, that is where WordPress gets the files from.

    Theme Name: Twenty Ten Child
    Template: twentyten

    @import will only load the stylesheet, where Template: loads the files and structure.

    HTH

    David

    Thread Starter Tethros

    (@tethros)

    Hey David, thanks for the response. Unfortunately, I think that I’ve all ready done that, unless I misunderstand what you’re saying.

    Right now, my code looks like this:

    /*
    Theme Name: My Theme
    Template: twentyten
    */
    @import url ('../twentyten/style.css');

    And on the Manage Themes page, it says My Theme uses Templates from Twenty Ten. What am I missing?

    Thread Starter Tethros

    (@tethros)

    Got it. I left a space between url and the open parens of the stylesheet. D’oh! Thank you for you help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Theme Displaying Incorrectly’ is closed to new replies.