Sandbox – cannot change "menu" background to black – what am I doing wrong?

  • Unknown's avatar

    Hi,
    I have been looking at this most of the day and I don’t understand what I am doing wrong here. So hopefully someone can help me! I just want to change the navigation background color to black. It is currently light gray and I can’t seem to be able to do this. Here is my CSS code:

    #access {
    background-color:#000000;
    padding:10px 35px;
    }

    .menu a:link,.menu a:active,.menu a:visited {
    color:#FFF;
    text-decoration:none;
    }

    .menu a:hover {
    color:#FFF;
    text-decoration:underline;
    }

    .menu {
    background-color:#000;
    }

    The hyperlinks css seem to go through but not the background.

    Thanks a lot!
    Geraldine

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    One piece of information – I am overwiting the SANDBOX template. Thx.

  • Unknown's avatar

    Neverming, I just figured it out looking at he sandbox stylesheet file. It should be

    #access div{background:#000;}

    instead of

    .menu {
    background-color:#000;
    }

  • The topic ‘Sandbox – cannot change "menu" background to black – what am I doing wrong?’ is closed to new replies.