View Full Version : Background image like here
I would like to create a background image that is present all the time like these (flower?) shapes on left and right of main forumbits on this board.
I know a bit of HTML and can perform simple modifications by learning from existing mods but I cannot understand this. :(
If someone could help me begin I would be grateful. :)
Tony G
11-24-2002, 09:00 AM
There is another thread on it so you can look for an answer there when it comes. I don't really know. Any method I tried it only works in some areas.
imported_Eternale
11-24-2002, 12:33 PM
Replace your Body tag with this
<body background="images/yourimage" bgcolor="#XXXXXX" text="#XXXXXX" id="all" leftmargin="10" topmargin="10" marginwidth="10" marginheight="0" link="#XXXXXX" vlink="#XXXXXX" alink="#XXXXXX">
Replace the X'S with the color you want and it will work!
assassingod
11-24-2002, 02:33 PM
I think he means he would like to make a background image.
assassingod
11-24-2002, 03:59 PM
Thats the body tag code for vBulletins only btw
Thankyou everyone for your help. :)
I have been also reading threads on vbulletin.org and found a solution written there. I see that people here look for this also so here it is:
(from Mist)
Goto the replacement section of your admin cp and find the replacement for <body>
Copy what you have.
Then in your 'forumhome' template find:
<body>
Replace it with the thing you just copied from the replacement section.
Then somewhere in your body tag put this:
background="{ imagesfolder}/pagebg.gif"
Remove the gap from between the { and the imagesfolder though :)
Tony G
11-25-2002, 05:30 AM
Doesn't work, the bgcolor overwrites the background. Also, wouldn't you have to add it to every template page?
It worked for me. Did you remember to remove the space as said at bottom of instructions? I forgot in the start and nothing happened. Then I understood and removed it. Now it works.
Yes it has to be done to all templates you want if for. The person who asked for the help said it was for forumhome only that he wanted it so Mist gave the more easy way for it I think.
Tony G
11-25-2002, 09:55 AM
There has to be an easier way. Must be...
I know there is an easier way. I had it working for any resolution bigger that 800x600 but then it screwed up.
filburt1
11-27-2002, 01:57 AM
*cheap hack alert*
You could make a span that fills your entire page then give it some CSS like background-image:url('filename').
Tony G
11-27-2002, 03:04 AM
Good idea filburt. Might try that. :)
I never through adding a background was so difficult to figure out. Hehe.
Nairb
12-24-2002, 06:36 AM
Originally posted by Tony
Doesn't work, the bgcolor overwrites the background. Also, wouldn't you have to add it to every template page?
In the style section, where you edit the main colours, there is a part for the body tag... that body tag works for all pages :D
Tony G
12-24-2002, 08:23 AM
Nairb, if you had read the thread you would see that doesn't work all the way all over the page. I knew that method and it doesn't work.
Nairb
12-24-2002, 04:16 PM
but it does.. that's how I do it...
Tony G
12-25-2002, 06:58 AM
Looks like it depends from forum to forum? Weird..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.