MyBB Community Forums

Full Version: Background image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I cannot get my background image in #container to center or not repeat. Here is what i have now, and it doesn't work. Any ideas?

body {
background-image:url(images/flame/bg.png);
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center; 
line-height: 1.4;
margin: 0;

font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 13px;
}

Anybody know?
anybody know?
Here is what I use on a web page:

BODY {background: #efefff url("images/yourimage.jpg") no-repeat top center;}

You can eliminate the color (#efefff) if desired
(2010-11-06, 08:37 PM)woody Wrote: [ -> ]I cannot get my background image in #container to center or not repeat. Here is what i have now, and it doesn't work. Any ideas?

body {
background-image:url(images/flame/bg.png);
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center; 
line-height: 1.4;
margin: 0;

font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 13px;
}

I'm a newbie at myBB so I'm just guessing. When I have tried to change a gif with a png I got major problems. Looking thru the php, jscript and xml files I found that they only referenced gifs. I think the easiest solution is to use a gif - at least see if that works.
Anybody know?
anybody know?

wait for sometime for the cache to be rebuilt
It's most likely the cache. Try waiting about 30 mintues, and then view your forum.