Support » Fixing WordPress » Add a background color to my Sidebar?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Here’s one way:

    1. In the admin page, choose Presentation > Theme Editor.
    2. Look through your style.css file for “#sidebar” and find color information inside those curly brackets.
    3. Change at will, then save.

    Don’t know your CSS? Start learning.

    There is no color information. I tried adding
    color:#1E90FF
    But it didn’t work, is there something I am missing

    Color will change the text color not background color it should be this here to change background color.
    background-color: #1E90FF;

    This is what it looks like, it still isn’t changing anything:

    #sidebar {
    float: left;
    background-color: #1E90FF;
    width: 200px;
    font-size:0.9em;

    }

    That should have changed it. Do you have a link to the actual site to see what is happening.

    whooami

    (@whooami)

    Member

    your theme doesn’t have any divs that are using that id.

    In other words, look at your source, search for sidebar, specifically, look for <div id="sidebar"> –its not there 🙂

    that’s why that’s not doing anything.

    Some of your sidebar stuff is inside a textwidgets <div>, some is still inside the content div>. You also need to address your validation errors.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add a background color to my Sidebar?’ is closed to new replies.