MyBB Community Forums

Full Version: Background Image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Yes hello I am trying to add a background to my site but its not a perfect fit is there away to make it to were its like one whole picture

here is my link to find out

http://sc4defined.icyboards.net


background: #191919 url(http://i1293.photobucket.com/albums/b592/Gpulos27/SimCity4-massington-the-city_zpsba4cef7b.jpg);
    background-repeat: no-repeat x;

	color: #000;
	text-align: center;
	line-height: 1.4;
	
	font-family: Verdana, Arial, Sans-Serif;
	font-size: 13px;

This is the code I used but its not a perfect fit can anyone help.

I use mybb 1.8
that background image is looking fine for me on your forum. how you want that to appear ?
btw, it looks like referred forum is using MyBB 1.6.x
Well when I use that picture I am showing and if i add it it looks like a 4 sett of squares are in the picture.
i tried using that image as your forum bg and it looks fine to me...


and "background-repeat: no-repeat x;" is not valid css rule.. its either repeat-x or no-repeat, you cant have both together... better to remove that rule imo...
For a full size and fixed background image change the css rules for body in global.css like this:
body {
	background: #191919 url(http://i1293.photobucket.com/albums/b592/Gpulos27/SimCity4-massington-the-city_zpsba4cef7b.jpg);    
	background-repeat: no-repeat;
	background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: #000;
	text-align: center;
	line-height: 1.4;	
	font-family: Verdana, Arial, Sans-Serif;
	font-size: 13px;
}
SvePu that worked the picture is up thanks Smile