Grow your CSS skills. Land your dream job.

WordPress Change sidebar background color

  • # March 24, 2013 at 12:08 am

    My web site it http://www.gospelrappers.org

    I need to change the background color of my sidebar and I don’t know what to change. I’ve used firebug to try and find what it is that I have to change but I’ve been unsuccessful.

    Thanks for anyhelp.

    # March 24, 2013 at 12:19 am

    On the sidebar class, line 989 on style.css, add background color to override the inherited color.

    # March 24, 2013 at 5:25 pm

    Thanks zedmus. I thought that was the place but no change

    I set it to black

    .sidebar {
    color: #000000;
    padding: 0 0 36px;
    }

    but it’s still showing up as dark grey

    # March 24, 2013 at 5:35 pm

    Try this

    .sidebar { background: #000000; padding: 0 0 36px; }

    In the code you currently have, “color: #000000;” sets the TEXT color to black.

    # March 24, 2013 at 6:21 pm

    I had to change the graphic. I did some testing. bg-main.jpg within #container was controlling the body. I deleted the graphic and the body background was transparent. So I changed the graphic to black in photoshop. that solved it

    #container{
    background: #000000 url(images/bg-main.jpg) repeat-y;
    color: #ccc;
    margin: 0 auto;
    width: 920px;
    }

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".