Hi own a MyBB forum currently being renovated and today when I logged in the background was white. The background image was nowhere to be found. I checked the images folder and the BG image is there, did an element inspection and sure enough it is there. But none of the browsers seem to be able to find the image. I'm not ruling out a possible hacking, but maybe it's also something else. HAs anyone run into this kind of problem?
Looks like something wrong with server but try editing your CSS and deleting #000000 or changing this:
body {
background: #000000 url(../../../images/playbookboards/site_bg.jpg) no-repeat top-center;
to this:
body {
background: url(images/playbookboards/site_bg.jpg) no-repeat top-center;
or you can just pm me and ill do it for you in seconds.
OR change to :
body {
background: #000000 url(../../../images/playbookboards/site_bg.jpg) no-repeat top center;
(2011-07-25, 08:54 PM)ranjani Wrote: [ -> ]OR change to :
body {
background: #000000 url(../../../images/playbookboards/site_bg.jpg) no-repeat top center;
I've tried both absolute and relative links and neither worked. I've even gone as far as restoring an old database still no result. I've sent you a PM.
Part of the reason it's not working is the image directory is not linked correctly in those codes they gave you...
it needs to be....
body {
background: url(../../../playbookboards/images/site_bg.jpg) no-repeat top center;
or you could try background-image instead of background
Try changing background to background-image and make sure that your path is correct in the global.css file. It seems like the images folder would be after the name of the forum... like:
playbookboards/images/site_bg.jpg
just make sure the address is right, and that the image name is all lowercase like you have. Sometimes the simplest things are the problems.
(2011-07-25, 09:50 PM)shunsicker1 Wrote: [ -> ]or you could try background-image instead of background
Try changing background to background-image and make sure that your path is correct in the global.css file. It seems like the images folder would be after the name of the forum... like:
playbookboards/images/site_bg.jpg
just make sure the address is right, and that the image name is all lowercase like you have. Sometimes the simplest things are the problems.
Still no change, I'm starting to think someone may have hacked and changed some coding around so that CSS is controlled externally. Any thoughts on that?
I find that below code is used at present AND its working ..
body {
background:#333333 url(../../../images/bgstrip.png) repeat-x top center;