MyBB Community Forums
How do I change background to an Image tried everything? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: How do I change background to an Image tried everything? (/thread-188966.html)

Pages: 1 2


How do I change background to an Image tried everything? - SeriousArbiter - 2016-02-12

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


RE: How do I change background to an Image tried everything? - boson - 2016-02-12

ACP > Your Theme > default > global.css

add to:
body {

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



RE: How do I change background to an Image tried everything? - SeriousArbiter - 2016-02-12

(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


RE: How do I change background to an Image tried everything? - boson - 2016-02-12

It should work.

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


RE: How do I change background to an Image tried everything? - SeriousArbiter - 2016-02-12

(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


RE: How do I change background to an Image tried everything? - boson - 2016-02-12

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


RE: How do I change background to an Image tried everything? - SeriousArbiter - 2016-02-12

It still doesn't work http://prntscr.com/a2gcdu


RE: How do I change background to an Image tried everything? - boson - 2016-02-12

(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/halo3background.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; 



RE: How do I change background to an Image tried everything? - SeriousArbiter - 2016-02-12

http://prntscr.com/a2gh9a


RE: How do I change background to an Image tried everything? - boson - 2016-02-12

(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;