Sidebar Background Shading

Is there CSS available that would allow a color to be selected for the right sidebar? I would like to assign a color code, probably a faint gray color, to the sidebar to break of the pages just a bit.

Thank you!!!

Hi,

Please post a link to your website, to a page where you have a sidebar, so I can give you a working Custom CSS to add a sidebar background-color.

Kind Regards,
Csaba

It is www.TheWholeCareNetwork.com

Thank you very much!

Dave

Hi,

You can add a background color to your sidebars with this Custom CSS:

.sidebar {
    background-color: #ebebeb !important;
}

Please add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also add the CSS to wp-admin -> Appearance -> Customizer -> Additional CSS so you won’t loose the changes after Theme or WordPress updates.

Please let me know how it works.

Kind Regards,
Csaba

Absolutely perfect! Thank you!

I especially like the hex code, which will allow me to experiment with various shades.

Very best regards!

Dave

Hi,

Great! You’re most welcome! If you need help with anything else, please open a new topic.

Have a nice day!

Kind Regards,
Csaba