Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.

Setting Background Image

edited November 2010 in Vanilla 1.0 Help
Hi everyone,

I would like to replace the white background with a custom image. Can anyone please give me some simple instructions on how to do this please?

I've searched through the forum and all posts/answers relate to Vanilla 1.

Thanks in advance.

Kyle.

Comments

  • @kyle789 there are a few different ways you can achieve this. You can create a custom theme ( see the Theme Quick-Start http://vanillaforums.org/page/ThemeQuickStart ) or, you can modify the default theme.

    To modify the default theme you need to create a custom.css file to overwrite the body element in style.css ( similar to creating a custom theme, you can use custom.css to overwrite any element).


    1. Create a new file called custom.css and save it in vanilla/themes/default/design
    2. Add the following code to custom.css to add a custom background image
    body {background: #FFFFFF url(bg.jpg);}
    *change the color and image name

    I hope this helps :)
    Turbolego
Sign In or Register to comment.