MyBB Community Forums

Full Version: Background help :
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

Just a quick question, How can I keep the background from moving and let the forum expand excluding the background?


Example:

http://thevistaforums.com/

Kind regards,

Tom
in css style for BODY set
"background-attachment: fixed"
hmm, in myBB background is usually not in BODY but #container. sorry Smile
You can add the code to either the body or page container CSS sections. Adding to the body section would likely create results closest to the example provided.
Musicalmidget Wrote:Adding to the body section would likely create results closest to the example provided.
yes, but not in myBB Wink
patrick_2007 Wrote:
Musicalmidget Wrote:Adding to the body section would likely create results closest to the example provided.
yes, but not in myBB Wink

background-image: url(image.jpg);
background-attachment: fixed;

Adding code similar to the above to the additional css of the body should provide the same results in MyBB.
oki Smile container can be transparent
Bah, I thought you were saying the code wouldn't work at all when added to the additional CSS for the body. You're actually correct however that it should be added to the container CSS for the closest resemblance.

Apologies for the confusion.
But it's no problem when we put this to container. I think, we can set container.width=100%
This should working until somebody put something before {$header}