WordPress.org

Support

Support » Themes and Templates » Child Theme never the same as parent when I preview or activate

Child Theme never the same as parent when I preview or activate

  • I’ve had this blog for about a year, running the Graphene theme, and have never messed with the css coding directly–just used the regular Appearance options to change things around.

    So now I need to make some changes to the colors of the tabs and such, so I learned about child themes. I uninstalled Graphene and put my blog on twentyeleven, then reinstalled Graphene and made a child theme for it–it looks like this:

    I have tried deleting and reinstalling again, including with other themes, and every time I preview the child theme, everything is messed up, no matter what theme/child theme I try.

    I’m discouraged and could use some help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Messed up the link. The blog is at kimkapsblog.com.

    idahospud,

    did you ever resolve this problem? i’m having the exact same issue. i’m using the oxygen theme, and every time i try to activate or preview the child theme, it looks nothing like the parent theme. would love to know if you figured out a way to fix it.
    thanks!

    kjodle
    Participant

    @kjodle

    I uninstalled Graphene and put my blog on twentyeleven, then reinstalled Graphene and made a child theme for it

    There is no need to do this. The child theme is installed alongside the parent theme–both are inside the “themes” folder. The child theme folder is not installed inside the parent theme folder. (“Sibling” theme is a better concept here.)

    A common problem I’ve seen is copying the entire parent stylesheet into the child theme folder. The child theme stylesheet should only contain those elements which you need to change.

    thanks kjodle! turned out i had an extra space in my style.css file!

    kjodle
    Participant

    @kjodle

    I’m glad. Sometimes the simplest things can throws us for a loop.

    Along the same lines, if at some point you include a functions.php file with your child theme, be sure there are no spaces before the opening <?php tag or after the closing ?> tag, else you get the infamous “headers already sent” message.

    Cheers!

    carlacoon
    Member

    @carlacoon

    I have the same problem as the original post here. CAN’T solve it!! I have no extra space – I have created the style.css file over an over and reuploaded to themes file still my child is messed up. (Haha to us parents out there — that sounds a bit right, doesn’t it?)
    Please help if anyone can figure out wht I’m doing wrong. I too did not mess with coding on my original 2010 theme – only hwatever it allowed under appearances. My child even has a different look from the the default 2010 with the title and tagline left justified and the navigation links one under another in text links uinstead of on a black nav bar etc..
    I’m going crazy here.
    Please HELP!
    http://carlacoon.com/blog/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Child Theme never the same as parent when I preview or activate’ is closed to new replies.