WordPress.org

Support

Support » How-To and Troubleshooting » Change background color of sidebar

Change background color of sidebar

Viewing 1 replies (of 1 total)
  • Siobhan Bamber (siobhyb)
    Automattic Happiness Engineer

    @siobhyb

    Hey there.

    The CSS you’re using is specifically targeting the page with an ID of 1031. To fix it so that it targets all the pages in your site, change page-id-1031 to page in your CSS snippet. This will leave you with:

    body.page {
    background-color: #E0E0E0;
    }

    🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Change background color of sidebar’ is closed to new replies.