Support » Themes and Templates » Sidebar on pages different color

  • Using the default template, if I navigate to my homepage, the sidebar is a light gray color. It is also this color when I click on any of the archive links, or the category links.

    But if I create a page and navigate to it, the sidebar is white and blends in with the rest of the content on the page.

    Does anyone know where I need to look to find out why the sidebar has a different Background color on pages than on other parts of my site?

Viewing 6 replies - 1 through 6 (of 6 total)
  • That’s how it was designed by the theme’s author.

    And the answer to the “where” question: header.php – line 25.

    Do you have any idea where I look to change it so the sidebar is always the same color?

    I tried adding background-color to the #sidebar id in the CSS file, but that only changes the bg color for part of the sidebar.

    I looked to try and see what other divs could be setting the background color but I don’t see where the sidebar div is wrapped in anything else. I am at a loss.

    Any help finding this would be much appreciated.

    whew thanks! I got it, I just took out the && is_page check on that line so that it will use that image even if it is a page.

    Hopefully that won’t break anything else in the theme.

    Thank you so much, I probably never would have found that.

    Not sure if what you did will hurt anything, but I had the same problem with a little different solution that worked. You can see it here:
    http://wordpress.org/support/topic.php?id=28931

    or you could just copy the kubrickbgwide.jpg and rename it to kubrickbg.jpg

    does the same thing without fiddling with code 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sidebar on pages different color’ is closed to new replies.