MyBB Community Forums

Full Version: insert a background image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know so little about what I am doing. My forum is http://www.brotherhoodhunter.com/forum/


I am trying to use image1.jpg as a background. After watching a few Youtube tutorials on this I arrived at the following code

background-image: url( /public_html/forum/images /image1.jpg);


I have tried inserting it into #container, #body, #content...all to no avail.

Tried taking out the background line... background:#5b5241;

still no change.

Is the format for background-image wrong? Should it be in another segment?

Any help is appreciated. Thanks
Try add it to body.

Also, destination of your image is wrong.

Try adding it in body at css add that property (body isn't class or id, so it havent . or # before it)

And try to find apsolute url of it image and add it to url of image wich is shown.

Peace on You,

I have found a Solution for your Problem! Please Go to: ACP > Themes > Your theme > Edit > global.css > edit in advanced mode > and find;
#container {
    background: #FFFFFF;
    width: 95%;
    color: #000000;
    border: 1px solid #e4e4e4;
    margin: auto auto;
    padding: 20px;
    text-align: left;
}
and change background: attribute something like this;
background: #FFFFFF url(/public_html/forum/images /image1.jpg);
Change #FFFFFF to whatever your "container" color is. Smile
Finally got it. Thanks