Page 1 of 1

Adding a background image to all pages on page

Posted: Tue Jul 09, 2002 11:36 pm
by ickie
I have added this to a couple sites that I added forums too:
example: http://www.chazz1518.com/phpBB2/index.php

Open: phpBB2\templates\subSilver\admin\overall_header tpl
after:(at bottom of page)//

</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>

add//

<td class="bodyline" background="http://YOUR.COM/phpBB2/templates/subSil ... pg"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>

enjoy

There is no such file

Posted: Thu Jul 11, 2002 4:49 pm
by sasidhar
Please tell me which file you are talking about. There is no such file in phpBB2/templates/subSliver/admin.

Regards

Posted: Thu Jul 11, 2002 7:59 pm
by Daz
Hi,

I think the poster is confusing you - he? must mean the subSilver directory.

Posted: Thu Jul 11, 2002 8:01 pm
by ickie
Open: phpBB2\templates\subSilver\admin\overall_header tpl

overall_header tpl and
do not forget to add your photo to the image folder in subsilver

Posted: Thu Jul 11, 2002 8:05 pm
by Daz
Hi,

Unless I am totally wrong the admin area uses page_header.tpl

Posted: Thu Jul 11, 2002 10:22 pm
by ickie
I have did this on 3 sites and its correct, and it is present on all pages in forums, overall_header tpl, is the file that I have edited.
remember to edit this to fit your site and image:
<td class="bodyline" background="http://YOUR.COM/phpBB2/templates/subSilver/images/YOUR-IMAGE.jpg"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>

and do not forget to upload, your image to phpbb2/templates/subsilver/images

Nice, but how to get rid of the remaining white border?

Posted: Wed Jul 24, 2002 8:27 am
by Hockeyshark
Hi!

Nice, but how to get rid of the remaining white border between the outer background and the newly created background?

Thanks a lot if you can post me a fix!

Hockeyshark

webmaster of
Image