Home>Support>how to change the background color for a post

how to change the background color for a post

Hello,

I have changed the background for theme of the page to a dark gray and I use white backgrounds for the content on the pages. I want to change the post background so the fonts that I’m using will work in the posts as well. I’m assuming it’s a css code that I have to add. Where would I put it and what would it be? Thanks.

URL: http://www.whitelightmatrix.com/?p=1

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Robb

    Thanks for the wait.

    If you switch the Vantage boxed layout you’ll find a more conventional content and background color setup. In boxed layout you can also use a plugin like this: https://wordpress.org/plugins/custom-background-extended/ to change the background color on a post or page by page basis.

    To change the main background color in full width mode for posts only you could use the following:

    /* Posts */
    
    .single #main {
    background: #ffffff;
    }
    

    That would require further CSS though as you’d need to also change your font colors for single posts.

    The above CSS can be inserted at Appearance > Custom CSS if you’re using our Custom CSS plugin:
    Page: SiteOrigin CSS Editor

    Let me know where you are with this and we’ll go from there.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More