MyBB Community Forums

Full Version: Default Theme Background Image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I got a JPG Image, and i want to add it as a background of forum, i see i can change colors easly, but the pictures not shows.

I tried:

theme>>global css>>advanced> Body inserting background-images: url(images/texture-bottom.jpg);
also i try modify the cache / reload cache in settings,

Maybe default theme is not possible add an image in background?

This code

body {
	background: #fff;
	color: #333;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	overflow-y: scroll;
}

Reemplaced by ( i try also without nothing more, only background image, and not shows)


Quote:
body {
	background-image: url(images/texture-bottom.jpg);
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	overflow-y: scroll;
}
Your CSS definition for body is correct.

#content{ } will override the background. Edit this definition as well to achieve your goal:
#content { background ...; }

[ExiTuS]
Sorry I just tried to update but nothing's changed. Just to clarify,
Default >> body {
background: #fff;
color: #333;
text-align: center;
line-height: 1.4;
margin: 0;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 13px;
overflow-y: scroll;

}
Updated to >>

body {
background-image: url(images/SL-flag.jpg);
text-align: center;
line-height: 1.4;
margin: 0;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 13px;
overflow-y: scroll;
}

and default >>
#content {
background: #fff;
width: auto !important;
padding: 20px 10px;
overflow: hidden;

Updated >>

#content {
background-image: url(images/SL-flag.jpg);
width: auto !important;
padding: 20px 10px;
overflow: hidden;
}