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.

Background only in Homepage not other pages

10 years ago · Last reply by Daniel 10 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.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Daniel Staff 10 years, 9 months ago

    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. Daniel Private Staff 10 years, 9 months ago

    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.

Have a different question or issue?

Start New Thread