MyBB Community Forums

Full Version: Help needed with Changing Background
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to change the background of my forum.

www.ncisclan.com

*If you've visited it before, please view it in Incognito so the cache and cookies are reset.

I have this in my theme, global.css
.backgroundimg {
	position: fixed;
        top: 0px; 
	left: 0px;
        z-index:-10;
        repeat;
        background-repeat: repeat;
}

And then this in my templates, index > index
<img class="backgroundimg" src="images/battlefield/background.png"/>

It used to work fine but I changed the background to a new one but it's not repeating as I want it to.

Thanks,
iHydra
Remove that image code from your templates, as it's going to invalidate your site, and that class is also unnecessary.

Once you've removed them, go to your global.css, click the dropdown menu, scroll down, and select "body".

From there, change the background property to:
#fff url(images/battlefield/background.png) repeat top left

After that, save changes, clear your cache, and view your site.
Thanks for the reply.

Just did it and worked! Thank You very much.