Background image different on home than other pages

This support request was posted in BBQ by lauramanney

Request ID #751 Resolved
  • I’d like the background image to be visible behind the lower container of the home page, but not on the other pages. Is this possible?

    Hi Laura,

    Thanks for writing.

    I don’t know what you mean by “lower container”.

    You can set up things only for the home page with a simple CSS rule. You need to start your definition with:

    body.home
    

    For example:

    body.home{ background: #000; }
    

    willl put a black background only in your home page.

    Best,
    Juan.

    Right now I have #container {background: #fff;} in my CSS. But I would like that to not apply to the homepage

    is it – body.home{ container: never; } or something like that?

    Hi Laura,

    You can use this:

    body.home #container{ background: transparent; }
    

    Best,
    Juan.

    I can’t thank you enough for all your help today. thanks, Juan

    No problem Laura 🙂 I’m happy to help.

    Have a nice day,
    Juan.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server