Home>Support>Background only in Homepage not other pages

Background only in Homepage not other pages

By VPA, 9 years ago. Last reply by Daniel, 9 years ago.

I need put one background image only on the homepage.

The other pages will have the default background

I need it on Vantage Premium Theme

I’m thinking on make my homepage as a landing Page for one product

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, 5 months ago Daniel
    Hi, I Work Here

    Hi VPA

    If needs be please watch our Custom CSS video here: https://siteorigin.com/basics/modifying-theme-design-with-custom-css/

    Use your browser’s developer tool to inspect the page source and find the unique body class for the page. For your home page it’ll be .home

    You can use Custom CSS, prefixing each selector with the unique body class, to set a background.

    .home #main {
    background-image: url("http://localhost/so/wp-content/uploads/2014/09/THE_FILE_NAME_UPLOADED.jpg");
    }
    

    Try that out and let me know the outcome.

    Cheers

  2. 9 years, 5 months ago Private Message - Daniel Hi, I Work Here

    This is a private message.

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