[resolved] Wish to have sidebar appear in comments (5 posts)

  1. PompiPompi
    Posted 6 years ago #


    I am using the wordpress default 1.6 theme.
    I want the sidebar to appear anywhere on my blog, on every page and exactly the same.
    For instance, when I select a specific blog post from the main page, I want the sidebar to appear when viewing that blog post.
    I tried to add <?php get_sidebar(); ?> to the file single.php, as was advised in one forum post.
    However, that made the sidebar appear bellow the blog post, instead to its right.
    It also lacks the grey background that the sidebar have in the main page.
    My blog website is at:


    Any suggestions?

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Try editing single.php and also changing:

    <div id="content" class="widecolumn" role="main">


    <div id="content" class="narrowcolumn" role="main">

  3. PompiPompi
    Posted 6 years ago #

    Thanks, I already figured it out myself. :P
    The problem I still have is that on the main page the sight bar has a grey background, and on the single the sidebar has a white background.
    Where do I control the background color of the sidebar in either the main or single?

  4. Adam Harley (Kawauso)
    Posted 6 years ago #

    The colour is actually part of the background image. On the main page, it's kubrickbg-ltr.jpg and on the single page, it's kubrickbgwide.jpg, so look under single.php I guess and change that.

  5. PompiPompi
    Posted 6 years ago #

    Thanks, found it inside header.php, because the <body> tag is there.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.