I used the code off from this website for a fixed centered background image and for some reason the image covers the whole page. I tried to make a z-index attribute for it, but then it dissapeared...here is the code in question..
Good question, try putting it before the first div tag in your code. Or if you can copy the code from wordpress into JSFiddle and I'll see what I can do.
Make sure you learn a little about the basics of Wordpress before you start fiddling with its many options and start editing files, it's very easy to screw things up.
well the problem is that from what im reading usually the body tags within wordpress are in the header.php file....but i have sifted through a lot of these files and i cant find a single body tag
#bg {
position:fixed;
top:-50%;
left:-50%;
width:200%;
height:200%;
}
#bg img {
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
margin:auto;
min-width:50%;
min-height:50%;
}
it also seems to be now competely out of alignment...wasnt like this when i first put the code up??
http://www.ontariobuyersmarket.ca/exclusive-properties/
http://jsfiddle.net/kQYbN/
http://www.ontariobuyersmarket.ca/exclusive-properties/
Make sure you learn a little about the basics of Wordpress before you start fiddling with its many options and start editing files, it's very easy to screw things up.