WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve - Sidebar on single posts and Child Theme problem (4 posts)

  1. gugutz
    Member
    Posted 1 year ago #

    Hi, i´m currently setting a blog @ http://www.tavernadigital.net, 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.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. gugutz
    Member
    Posted 1 year ago #

    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 ( http://www.mia-nina.com ) i can use my custom header.php file without problems, this issue only appear on http://www.tavernadigital.net

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

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.