Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[ Responsive ] Changing the sidebar button color

Hi again,

Still learning the CSS basics, I ran into some trouble regarding the sidebar buttons in Responsive. I'm trying to do a custom color scheme, and it's MOSTLY worked, but for one thing: I can't get the sidebar buttons to stop displaying slate-grey.

The current code I'm trying to use is:
#sidebar li { background-color: #a66f00; }
I tried marking it as important, but the buttons remain grey as ever. Any thoughts?

Comments

  • You were close, the button background colour is actually set on the anchor ('a') tag.

    Try this instead:
    #sidebar li a { background-color: red; }
    Using a browser's debugger is an excellent way to determine what CSS is effecting which HTML tags.
  • I'm really confused. I tried using the code you suggested, which only changed the background of the 'bookmark' text and not the button.

    Then I reverted back to my original code and now it works?????

    I'm just going to pretend the problem got for-real solved rather than magically disappeared. Thanks for your help!
Sign In or Register to comment.