WordPress.org

Support

Support » Themes and Templates » [Resolved] Change sidebar background color

[Resolved] Change sidebar background color

  • I’m using the Quark theme. Could you please tell me how to change the sidebar background?
    I’d like to know how to give the sidebar a solid color background.
    Id also like to know if it’s possible to have an image background in the sidebar and how to do that.
    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,
    in order to change the background color of the sidebar you can add this to your child style.css (or Custom CSS if you don’t have a child theme):

    #secondary  {
    background: #000000; // put your color
    }

    If you would like to use a background image instead you can:

    #secondary  {
    background-image: url(../images/bg.gif); // put the path to the image between ()
    }

    Thank you very much for this response. It makes perfect sense. Unfortunately I didn’t have success with it.

    I removed the background image from the Quark site then added the code for sidebar background color in style.css like this:

    #secondary {
    background: #e0e0e2;
    }

    Theme Author Anthony Hortin

    @ahortin

    It sounds like you’ve managed to sort out your query.

    Thanks for your help @kaniamea 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Change sidebar background color’ is closed to new replies.