MyBB Community Forums

Full Version: How do I change background to an Image tried everything?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Iv'e tried everything my image is uploaded to my host and it just doesn't can you give me the code and tell me where to put it please? Huh
ACP > Your Theme > default > global.css

add to:
body {

this:
background: url(images/photo.jpg) no-repeat center top;
(2016-02-12, 07:37 PM)boson Wrote: [ -> ]ACP > Your Theme  > default > global.css

add to:
body {

this:
background: url(images/photo.jpg) no-repeat center top;

Its not working http://prntscr.com/a2fyso
It should work.

give your forum url or PM,i will check using web debugger
(2016-02-12, 07:58 PM)boson Wrote: [ -> ]It should work.

give your forum url or PM,i will check using web debugger

I PMed it too you Smile
Ok use this and report back:

background: url(images/dark1.8/halo3background.jpg) no-repeat center top; 


Your mistake was image extension i.e its jpg not jpEg

upload image to "dark1.8" folder. (you can also keep image in "images" folder)

hard refresh browser (Ctrl+F5) and check
It still doesn't work http://prntscr.com/a2gcdu
(2016-02-12, 08:16 PM)SeriousArbiter Wrote: [ -> ]It still doesn't work http://prntscr.com/a2gcdu

It should work,

But i see this error on image [404 - Not Found]

Make sure image is there and accessible directly from browser like below

https://www.yourforumurlhere.com/dark1.8...ground.jpg

EDIT:
if it still don't work then try this i.e upload image to external image host (not recommended)
background: url('http://www.imgur.com/halo3background.jpg') no-repeat center top; 
(2016-02-12, 08:24 PM)SeriousArbiter Wrote: [ -> ]http://prntscr.com/a2gh9a

You forgot to put ' & ' before & after url

Try this:

background: url('http://i.imgur.com/65YfilX.jpg') no-repeat center top; 
Pages: 1 2