Log in

View Full Version : Background Image?


dmknights
01-27-2009, 04:16 PM
can someone possibly tell me how to have an image as my backgroung on my forum?

Lynne
01-27-2009, 04:40 PM
Did you try adding it to the css body tag? See this page for css help with the background properties - http://www.w3schools.com/css/css_background.asp

princeedward
01-27-2009, 04:41 PM
can someone possibly tell me how to have an image as my background on my forum?if you have image already...upload it anywhere to host it or to your own...host image folder...

Go:

Admin CP > Styles & Templates > Style Manager > Main CSS (in the menu) > Body

Use the code below in the Background field:

Replace (*) with anyone you want below to position your image

#123456 url(path/to/image.gif) *


(*)no-repeat top right;
(*)no-repeat top left;
(*)repeat-x;
(*)repeat-y;
(*)repeat;
(*)...


hope it helps you...

:p:up:

dmknights
01-27-2009, 05:49 PM
does the image have to be a certain size?

Lynne
01-27-2009, 05:55 PM
It depends on what you are trying to do. If you look at the one here, it is long, but only 1 pixel (or so) tall and then tiled in the vertical direction. Other sites have a square that is tiled in all directions. It kinda depends what you are doing with your background.

dmknights
01-27-2009, 06:05 PM
would it be possible to have a pixel size of say 30x30 that is tiled?

Lynne
01-27-2009, 06:40 PM
Sure.

#123456 url(path/to/image.gif) repeat

dmknights
01-27-2009, 07:00 PM
just 1 thing, would the path be like (images/misc/image.gif) or would it be the complete http://www.mysite.com etc etc

Lynne
01-27-2009, 08:00 PM
Usually it is best to just do it as images/misc/image.gif unless there is a problem with doing it that way.

dmknights
01-27-2009, 08:57 PM
thank you very much for your help