Child Theme Problems

  • mografix

    #3181

    I’ve been using the Custom Css to make changes in code, but I went ahead and decided to create a child theme. Here’s what it looks like:

    /*

    Theme Name: Graphene Child

    Theme URI: http://www.stmarknet.com/school/wp-content/themes/graphene/

    Description: Child theme for the Graphene theme

    Author: Albert Mollinea

    Author URI: http://www.stmarknet.com/school/author/

    Template: graphene

    Version: 1.5.6

    */

    @import url(“/wp-content/themes/graphene/style.css”);

    /* Your modification goes under this line */

    It’s in a folder titled “graphene-child” inside “themes”. My site becomes a mess when I activate this theme. I’m I missing something? Thank you in advance.

    http://www.stmarknet.com/school/

    Anonymous

    #23836

    Your import url is wrong. Instead of this:

    @import url("/wp-content/themes/graphene/style.css");

    You need it like this:

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

    mografix

    #23837

    That did it. Thanks, Josh – you the man!

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!