derry
|
how to set background image so it doesn't tilePLEASE ENTER THE FOLLOWING>>>>
foreverangels.myfastforum.org
hi, i hope this is an easy answer for someone.
I've just noticed the our index page background image "tiles"as in it repeats itself as it goes down the page, if you look to the side of the main forum tables you can where the image repeats. Is there any way to stop this happening? so you get one continous image, or is it a case of only using images of a certain size to resolve it, if so, what size would they need to be??
|
admin (no pm's please)
|
http://www.codeave.com/CSS/code.asp?u_log=4014
|
derry
|
thanks admin, i take it i find that command in the overall header.tpl?
|
snowgoose
|
It will most likely be in your CSS files.
|
derry
|
hmm, tried it in both the .css file and the overall header and it didn't work either time, is there anything in the stylesheet i need to change?
|
Zudane
|
It's not just something you can add in randomly.
In either your overall_header.html/tpl (depending if you use phpbb2 or 3), or you css file there will be something for the background. In the header it'll be something like
| Code: | | "<body background=..." |
In your CSS it'll be something like body.background
If you are completely unskilled in all coding, I would suggest trying to learn more than just copy/paste.
|
snowgoose
|
Hunt around for somewhere that says
| Code: | background-image: url(http://foreverangels.myfastforum.org/templates/myfs_foreverangels3/images/cloudbackground.jpg);
|
After that put in
| Code: | | background-repeat: no-repeat); |
So it looks something like this
| Code: | background-image: url(http://foreverangels.myfastforum.org/templates/myfs_foreverangels3/images/cloudbackground.jpg);
background-repeat: no-repeat); |
|
Zudane
|
Corrected the final code Snow posted, had two an extra )
It should look like this:
| Code: | | background-image: url(http://foreverangels.myfastforum.org/templates/myfs_foreverangels3/images/cloudbackground.jpg); background-repeat: no-repeat; |
That should be it.
|
derry
|
Finally had a chance to have another look at this and would like to say thanks to Zudane for the correct code. i manage to stop it repeating but now the image only fits in the quarter of the page, whereas I need the one image to fill the entire page background, if you see what i mean.
Is there any way to amend the template so that it does this? although if i do this i assume the picture will be more pixelated reduced to compensate?
i've solved the problem! now, was quite a simple fix actually!thanks for looking anyway people
|
|
|