This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

how to change the background color for a post

Open 1 reply themetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 10 years, 8 months ago

    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.

Have a different question or issue?

Start New Thread