Not Solved Adding a background
#1
Not Solved
how can i add a background image to the default template of MyBB. I know its to do with the .CSS file but for the love of god were is itToungue
[Image: userbar.php?uid=1]
Reply
#2
Not Solved
it's in the global.css file (in the theme style settings)
change the value of the body background, and #container background.
Official Arabic Translator.
Reply
#3
Not Solved
(2009-03-15, 06:18 PM)pepotiger Wrote: it's in the global.css file (in the theme style settings)
change the value of the body background, and #container background.

so instead of it being background #000 it would be background image/bg.gif yeah and the same in container
[Image: userbar.php?uid=1]
Reply
#4
Not Solved
Templates&Style/Your Theme/global.css/BlackGround/ add; #fff url(http://www.yourblackground.com.png)
Reply
#5
Not Solved
(2009-03-15, 06:24 PM)Iceman II Wrote: Templates&Style/Your Theme/global.css/BlackGround/ add; #fff url(http://www.yourblackground.com.png)

so your saying i have to enter the full url of my image to have it as a back ground
[Image: userbar.php?uid=1]
Reply
#6
Not Solved
if it in a sub folder under your forum root folder you can use this
background: #fff url(sub_folder/my_image.gif);
where #fff it's the color hex code, and sub_folder/my_image.gif it's the path where your background image is located.
Official Arabic Translator.
Reply
#7
Not Solved
(2009-03-15, 06:26 PM)alan1979 Wrote:
(2009-03-15, 06:24 PM)Iceman II Wrote: Templates&Style/Your Theme/global.css/BlackGround/ add; #fff url(http://www.yourblackground.com.png)

so your saying i have to enter the full url of my image to have it as a back ground

Yes, see my forum? (www.moviemania-pt.com)

I use the same way....
Templates&Style/Your Theme/global.css/BlackGround/ add; #fff url(http://img17.imageshack.us/img17/6729/fundok.gif)
Reply
#8
Not Solved
(2009-03-15, 06:30 PM)pepotiger Wrote: if it in a sub folder under your forum root folder you can use this
background: #fff url(sub_folder/my_image.gif);
where #fff it's the color hex code, and sub_folder/my_image.gif it's the path where your background image is located.

i made a mistake. can some one tell me the default colour for #container please as i edited the wrong box.
[Image: userbar.php?uid=1]
Reply
#9
Not Solved
the default background colour is #fff
Official Arabic Translator.
Reply
#10
Not Solved
would someone mind telling me why I would need to insert the color code in this case #fff before the url(sub_folder/my_image.gif);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)