Page 1 of 1

Where to change padding between columns?

Posted: 5. March 2009 21:43
by luminosity
Your Portal Version:
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
For the past hour I've been searching through portal.css trying to find where to reduce the distance between each column. I would like to reduce the distance between the left, center and right columns. Where is this variable? I do have portalview installed, but the distance was the same before as well. So I'm assuming the change I want to make has to do with board3. Thanks!

Re: Where to change padding between columns?

Posted: 5. March 2009 23:21
by Marc
Open styles/*yourstyle*/template/portal/portal_body.html
Find:

Code: Select all

<td valign="top" style="width: {PORTAL_LEFT_COLUMN}px; padding-right:6px;">
Adjust the padding to your needs.

Find:

Code: Select all

<!-- [-] left block area -->
	<td style="width:4px;" valign="top"></td>
Adjust the width to your needs.

Find:

Code: Select all

<!-- [-] center block area -->
	<td style="width:4px;" valign="top"> </td>
Adjust the width to your needs.

Find:

Code: Select all

<td valign="top" style="width: {PORTAL_RIGHT_COLUMN}px; padding-left:6px;">
Adjust the padding to your needs.