How to add a background image?

Posted by rabidy 
How to add a background image?
February 15, 2007 05:56AM
I would like to replace the background color of the default template with an image.
How would i go about doing this?
Re: How to add a background image?
February 15, 2007 06:33AM
Edit the css.tpl. There you can add a CSS entry for showing a background image for the body. Example:
body {
   ...whatever other...
   ...stuff there is already...
   background-image: url(/path/to/your/image.png);
}
For more info on how the CSS exactly works, read up on cascading style sheets.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: How to add a background image?
February 15, 2007 01:29PM
thank you.
Re: How to add a background image?
February 15, 2007 01:30PM
You can also add background images to individual posts like I have here.

(I am randomising the first background and then going through a set sequence - the background image is aligned right to give the appearance of a border)

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: How to add a background image?
February 16, 2007 03:49AM
awesome example sheik!!

cheers for that

miafire




The SImpsons Movie!! Only couple more months wait
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Sorry, only registered users may post in this forum.

Click here to login