WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change the sidebar background color (7 posts)

  1. yakov.avraham
    Member
    Posted 2 years ago #

    Does anyone know how do I change the sidebar background color
    The background color is black and I want to change it to another color
    Here is the website: http://hilat-hakala.co.il/

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    What sidebar? Where?

  3. yakov.avraham
    Member
    Posted 2 years ago #

    I meant the menu on the right side

  4. yakov.avraham
    Member
    Posted 2 years ago #

    I changed what I wanted, but now I have another problem: I want to
    change the black color between the categories. Can someone help me please

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    Sorry - your sidebar was right off the edge of my browser window. The relevant block in style.css is:

    #sidebar nav {
        background: -moz-linear-gradient(center bottom , #111111 23%, #0C0C0C 62%) repeat scroll 0 0 transparent;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        box-shadow: 0 1px 4px #000000;
        clear: both;
        margin: -70px;
        position: relative;
        width: 160px;
        z-index: 99;
    }

    Try changing the 2 color codes in the background line.

  6. yakov.avraham
    Member
    Posted 2 years ago #

    Thanks for your help

  7. Hazlo
    Member
    Posted 2 years ago #

    Hello Esmi
    Sorry, I'm a beginner with code.
    When finding this topic I thought you gave the solution to my problem but...
    I installed a child theme for twenty eleven, that's ok.
    Now I'd like to modify the background color of the main sidebar.
    But I can't find in the parent theme's style.css any block starting with #sidebar nav that I could change as explained above and add to the style.css of my child theme.
    Would you give me a hand?

    The url of my blog is :

    Many thanks for your help and for your involvment here as well.

Topic Closed

This topic has been closed to new replies.

About this Topic