MyBB Community Forums

Full Version: How can I add a BG to this theme?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well here is my theme www.thegamesdistrict.com/community/, and if you look the theme has came with no BG, so how can I add one?
You add a background by putting code into the background option under the body heading in the theme editor.

Code like - #FFFFCE url(http://www.yourimagepath/gradient.jpg) repeat-x
(2010-07-05, 10:15 PM)peepo Wrote: [ -> ]You add a background by putting code into the background option under the body heading in the theme editor.

Code like - #FFFFCE url(http://www.yourimagepath/gradient.jpg) repeat-x

That confused me Undecided
AdminCP >> Templates & Style >> Themes >> Your Theme >> global.css

Select body (which is first anyway) and add the code to the background field.

#FFFFCE is a colour code, this on it's own will just fill the background with a solid colour.

url(images/yourtheme/bgimage.png) is used if you want to use an image for the background.

repeat-x makes it repeat so it fills all the background.