NameSilo

Phpbb template mod

Spacemail by SpaceshipSpacemail by Spaceship
Watch

vichousefc

Account Closed
Impact
0
Hi,

I have a forum

http://www.stevengerrard.net - I have had one of the members of this site make a logo for me which is on the forum at the top.

the logo size is 979 (W) X 100 (H)

The forum currently is at 100% size of browser but I want the forum to be the same width of the logo?

What file do I need to mod? and what line?

Newbie to forums.

Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
overall_header.tpl is the file you need to edit.

find the following line:-

PHP:
<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">

and change the width value to what you want that should sort it out for you.
 
0
•••
I would advise against making the width 979.

Anyone using an 800x600 screen size will not be able to see the side of your page and will have a horizontal scroll bar.
 
0
•••
The logo is already at a width of 979 so making the template the same width doesn't matter.
 
0
•••
yes it does, change the size of the page and you will see that the logo gets hidden.
 
0
•••
Currently the logo is resizing down to the 800 size when your screen is that size, because it's a background image and not just an image on the page.

Making the whole page 979 will leave about 200px of page hidden when viewing with an 800x600 screen size.
 
0
•••
I don;t know how your header looks, but if possible I would split the header in a place that is commun across the banner and use it as a background so that it can resize on different monitor, http://www.vsig.info, my site does that with the header, have a look at the source.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back