Support » Themes and Templates » Twenty Twelve – Sidebar on single posts and Child Theme problem

  • Hi, i´m currently setting a blog @, the blog is in portuguese-brazilian, and im getting thing going so far except for the sidebar, that only appears on the front page, as soon as you click any post to view it alone, the sidebar disappears.

    I added <?php get_sidebar(); ?> on single.php right before <?php get_footer(); ?>, still no luck.

    How do i get to do this? Could anybody put some light in for me?

    Also i have a question about child theme. I´m working with it on this same blog, and i use my very own separated style.css file without problems, but i can´t do the same with the header.php file.
    If i download header.php, edit it and then upload the edited file to the child theme folder on the server, the site loses its structure and most of its design.

    Anybody knows why this happens?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    Do not edit the Twenty Twelve theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

    Sorry to bump this old thread, but i´m still having this problem with the child theme.

    Whenever i make a copy of header.php from the twentytwelve folder to my chyild theme folder so i can edit it, and then upload it to my child theme folder on the server, the design is broken.

    The site is currently like that so you guys can take a look.

    On this other website i have ( ) i can use my custom header.php file without problems, this issue only appear on

    I wonder if it would be possible to be some plugin related issue?



    Forum Moderator

    your site seems to be using elements of Twenty Eleven;
    although the html structure seems to be partly like Twenty Twelve.
    the body_class in a single post is more like from Twenty Eleven… etc

    also, your selection of stylesheets is quite unusual – the default style.css does not seem to be called.

    please start by posting the code of style.css of your child theme, and of single.php.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Twenty Twelve – Sidebar on single posts and Child Theme problem’ is closed to new replies.