Put an image in the main content

  • Meteora

    #3792

    Hello,

    Is what we can put an image instead of color options?

    If so how.

    http://img705.imageshack.us/img705/6715/graphene.jpg

    cordially

    Mod

    Kenneth John Odle

    #25998

    No, you can only enter hex codes there. To change this, you will need to add this to your custom CSS:

    #content {
    background-attachment:fixed;
    background-image: url(path to image file)
    }

    Meteora

    #25999

    thank you

    Can I delete this part? it used for?

    Code:
    padding-top: 21px;
    padding-bottom: 20px;

    I have not inserted this code:

    Code:
    background-attachment: fixed;

    Because I want the image scroll and repeat

    Mod

    Kenneth John Odle

    #26000

    padding adds space between an element and its border. (It will also make it bigger by that amount.) Feel free to change it to 0px to see what it does. You can actually preview this with Firebug without actually making permanent changes to your css.

    Scrolling backgrounds? Très 1998!

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

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!