MyBB Community Forums

Full Version: changing background image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i want to put this backgound image (images/pattern-8m9z.png) in my forum
how should i go about it,pls
Go to:
Home » Themes » ur theme name » global.css
on top it should have "background-image: url(x);"
if it doesn't, add background-image: url(x); and replace the x with the directory of your image.
(2015-05-07, 07:30 PM)Kekko Wrote: [ -> ]Go to:
Home » Themes » ur theme name » global.css
on top it should have "background-image: url(x);"
if it doesn't, add background-image: url(x); and replace the x with the directory of your image.

background-image: url("x");
(2015-05-07, 08:26 PM)PhantomD Wrote: [ -> ]
(2015-05-07, 07:30 PM)Kekko Wrote: [ -> ]Go to:
Home » Themes » ur theme name » global.css
on top it should have  "background-image: url(x);"
if it doesn't, add background-image: url(x); and replace the x with the directory of your image.

background-image: url("x");

you don't need "
I just added them over the whole line of css so he knows what to write since he said he isn't familiar with css.
(2015-05-07, 09:01 PM)Kekko Wrote: [ -> ]
(2015-05-07, 08:26 PM)PhantomD Wrote: [ -> ]
(2015-05-07, 07:30 PM)Kekko Wrote: [ -> ]Go to:
Home » Themes » ur theme name » global.css
on top it should have  "background-image: url(x);"
if it doesn't, add background-image: url(x); and replace the x with the directory of your image.

background-image: url("x");

you don't need "
I just added them over the whole line of css so he knows what to write since he said he isn't familiar with css.
thanks for your reply.
i have try it still nothing showed
Can i have the link to you're forum please?

Edit:

Edit global.css for your theme and edit the body{}.


add:

background: url("your url here");
background-repeat: no-repeat;
background-attachment: fixed;



Then save then do hard refresh F5 Smile
(2015-05-10, 02:20 PM)Root Dalez Wrote: [ -> ]Can i have the link to you're forum please?

Edit:

Edit global.css for your theme and edit the body{}.


add:


background: url("your url here");
background-repeat: no-repeat;
background-attachment: fixed;

http://tollist.com

Then save then do hard refresh F5 Smile

(2015-05-10, 07:10 PM)elshaddai58 Wrote: [ -> ]
(2015-05-10, 02:20 PM)Root Dalez Wrote: [ -> ]Can i have the link to you're forum please?

Edit:

Edit global.css for your theme and edit the body{}.


add:



background: url("your url here");
background-repeat: no-repeat;
background-attachment: fixed;

http://tollist.com

Then save then do hard refresh F5 Smile
nothing change,
What is the background image are you trying to set it as? Give me the image link Smile
(2015-05-10, 08:50 PM)Root Dalez Wrote: [ -> ]What is the background image are you trying to set it as? Give me the image link Smile
file:///C:/Users/HP/Documents/pattern-8m9z.png
(2015-05-10, 09:10 PM)elshaddai58 Wrote: [ -> ]
(2015-05-10, 08:50 PM)Root Dalez Wrote: [ -> ]What is the background image are you trying to set it as? Give me the image link Smile
file:///C:/Users/HP/Documents/pattern-8m9z.png

So you're using localhost? Even then, this isn't a proper path to the image in CSS. You shoud either upload the image to MyBB's images folder and use relative path:
background: url("images/pattern-8m9z.png");
or to an external image online hosting (not recommended), for example imgur, and use link in that case.
Pages: 1 2