Board Width

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Locked
GRaisbeck
Registered User
Posts: 80
Joined: Tue Jun 03, 2008 8:55 am
Contact:

Board Width

Post by GRaisbeck »

Hi,

Is it possible to shorten the width of my board to 75% of the window?
User avatar
Greenweaver
Former Team Member
Posts: 3913
Joined: Tue Jan 10, 2006 5:25 am
Location: In the rain
Contact:

Re: Board Width

Post by Greenweaver »

What's the link to your board please?
Image
Modage: Page Title Number MOD
Linkage: Find me at Styles Support & Discussion | Get a new style | Customise your style | phpBB userguide
Noteage:
Graphics requests to members over 20 posts and genuine phpbb requirements | I do not provide custom psd files
GRaisbeck
Registered User
Posts: 80
Joined: Tue Jun 03, 2008 8:55 am
Contact:

Re: Board Width

Post by GRaisbeck »

Hi Greenweaver the link to my board is-

http://www.dashorg.co.uk/index.php

Thanks for any help.
User avatar
Greenweaver
Former Team Member
Posts: 3913
Joined: Tue Jan 10, 2006 5:25 am
Location: In the rain
Contact:

Re: Board Width

Post by Greenweaver »

Open the file called "overall_header.tpl" and find this part of the code:

Code: Select all

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

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
Change to this:

Code: Select all

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

<table width="75%" cellspacing="0" cellpadding="10" border="0" align="center">
Save and upload the changes.
Image
Modage: Page Title Number MOD
Linkage: Find me at Styles Support & Discussion | Get a new style | Customise your style | phpBB userguide
Noteage:
Graphics requests to members over 20 posts and genuine phpbb requirements | I do not provide custom psd files
GRaisbeck
Registered User
Posts: 80
Joined: Tue Jun 03, 2008 8:55 am
Contact:

Re: Board Width

Post by GRaisbeck »

Thanks for that Greenweaver, it worked a treat.
LindaMo
Registered User
Posts: 3
Joined: Sun Aug 31, 2008 8:12 pm

Re: Board Width

Post by LindaMo »

Hi,
I have tryed this several times, but it's not working after all.
Anything else you suggest i should do for minimizing the board width?
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: Board Width

Post by prototech »

Post a link to your board.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
LindaMo
Registered User
Posts: 3
Joined: Sun Aug 31, 2008 8:12 pm

Re: Board Width

Post by LindaMo »

http://www.papirgleder.no/forum/index.php

Has it something to do with the header picture?
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Board Width

Post by Lumpy Burgertushie »

you have changed the table that houses your 1000 pixel wide banner to 75%.

first, that is not the table you need to adjust, it is the next one below your banner javascript table.

also, if you put a 1000 pixel wide image in a table cell, it will make that table cell 1000 pixels wide no matter what you do.


so, If you change the correct table to 75% then your banner will still be 1000 pixels wide at the top of the screen.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
LindaMo
Registered User
Posts: 3
Joined: Sun Aug 31, 2008 8:12 pm

Re: Board Width

Post by LindaMo »

Hi,
I want the board to be 1000px, the header image is 1000px so it would fit the board.., and now i tried what you suggested, but still the board is too wide... :oops:
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Board Width

Post by Lumpy Burgertushie »

LindaMo wrote:Hi,
I want the board to be 1000px, the header image is 1000px so it would fit the board.., and now i tried what you suggested, but still the board is too wide... :oops:
right now the board is set to be 100% of the browser window for whatever people have their screen resolution set to.

on mine, the banner, at 1000px completelyl fills my screen and I do not have to scroll sideways , nor do I have any white space on the sides.

your board also fills my screen with no space on the sides.
so, for me, it looks just like what you said above.

If you see something different, it is because you have different screen resolution than I do.

what do you mean by it is too wide?
the way it is currently set, it will expand to fit the screen that you are viewing it with. however, the banner at the top will make you have to scroll sideways if your screen resolution is less than 1000px wide regardless of what you set the table width to be.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Board Width

Post by Lumpy Burgertushie »

LindaMo wrote:Hi,
I want the board to be 1000px, the header image is 1000px so it would fit the board.., and now i tried what you suggested, but still the board is too wide... :oops:
wait, I get what you are saying. apparently, your screen resolution is set pretty high so that 1000px does not fill your screen. on the other hand the board is set to 100% so it is filling the screen.

therefore, set your first table of the board, not the one that the banner is in.

set it to <table width="1000" and see what happens.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Locked

Return to “[2.0.x] Styles Development & Discussion”