Child theme – no columns

  • Marketing Master

    #5219

    When i activate Child theme, the page is mesed around (everything is on the left, there is no columns):

    Child theme (only style.css file):

    /*
    Theme Name: Twenty Eleven Child
    Theme URI: http://example.com/
    Description: Child theme for the Twenty Eleven theme
    Author: Your name here
    Author URI: http://example.com/about/
    Template: graphene
    Version: 0.1.0
    */

    Prasanna SP

    #31195

    You need to import the parent theme style sheet.

    Try this

    /*
    Theme Name: Twenty Eleven Child
    Theme URI: http://example.com/
    Description: Child theme for the Twenty Eleven theme
    Author: Your name here
    Author URI: http://example.com/about/
    Template: graphene
    Version: 0.1.0
    */
    @import url("../graphene/style.css");

    Also, put code in between backtick (

    Code:
    `

    ) characters in this forum. It’s usually located above the Tab key on your keyboard.

    Marketing Master

    #31197

    Thx, this is it, it works.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!