Log in

View Full Version : Adding a background to all pages


PukkaBen
01-26-2010, 09:44 PM
I am running just vBForum, but I have made custom pages thanks to Lynne and I'd like to add a background to my site. I have made the background, I just need to upload it and code it in!!
I have no idea where to even start with this, I have looked in all stylevars for background and can't find anything where I can add an image!! Any help on the matter would be greatly appreciated.

eduardo.silve
01-26-2010, 11:59 PM
try this in your header template...

<style>
html
{
background: #000000;

}
</style>

or

<style>
html
{
background: #000000 url(http://www.url.com/ForosBG.jpg) no-repeat fixed center top;

}
</style>

PukkaBen
01-30-2010, 05:17 PM
Thanks!! Has sorted it a treat.

daveaite
01-31-2010, 06:34 PM
Or you can go into StyleVars by going to Style Manager > All style Options > Style Vars > edit doc_background, use and image.