help in background image

i wanted to know how to change the background image of the main page.
i tried changing the album.tpl.php in the BORDERS directory since m using the
borders theme.. what i did was i added background="[imagelocation]" in the body tag.. but it didnt work for me... please help!!

Thanks.

don't change the .tpl

don't change the .tpl files
change the default.ccs file in the themes map you use

e.g.

TABLE.BODY{
border-style: solid;
border-color: ;
border-width: 2px;
background-color: ;
background-image: url('/phpalbum/themes/Borders/mybackground.gif')
}

should work

And you should change the

And you should change the background color in Setup-Themes to be similar to that background image. Otherwise the shadow-images will not be very nice if you use them. But you can switch off them in Setup-Themes too, may be that is better if you use background image.

Background Image

Dear all, I've tried to change background image and this is what I added in the default.css of Borders theme without success:

background-image:url(../../immagini/background.png);
background-repeat:no-repeat;
background-position:center;

I' ve checked the syntax and it seems correct

Can you help me?

many Thanx in advance
mrzpro

RE:help in background image

I just finished doing this for a client's website.

Here's what I did:

TABLE.BODY{
border-style: solid;
border-color: ;
background-color: ;
"background-image:url(/gallery/res/Background.png);
background-repeat:no-repeat;
background-position: center;"
}

**I added everything between the quotes. (minus the "s of course)**

TABLE.menu{
border-style: solid;
border-color: ;
background-color: ;
}
TABLE.menu2{
border-style: solid;
border-color: ;
background-color: ;
"background-image:url(/gallery/res/menulogo.png);
background-repeat:no-repeat;
background-position: top;"
margin-top: 16px;

**Same thing here.**

Note:you may have to resize your image(s) to make them fit the way you want them to. Also I uploaded my .png file to the "res" folder on my server the copied the path from the properties, just to make sure I had the path right.

hope this helps.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">