Left and Right Sidebars

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Left and Right Sidebars

Post by Mysterio » Tue Apr 15, 2003 1:37 am

I need a left sidebar and a right sidebar on my phpbb. I know i need to edit the overall header and overall footer to do this. However I do not know what code I need to put into it. Does anyone have it? Thanks.

User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Post by Arty » Tue Apr 15, 2003 6:11 am

in overall_header.tpl put this (at the end of file):

Code: Select all

<table border="0" cellspacing="0" cellpadding="5" width="100%">
<tr>
 <td width="200" align="center" valign="top">

   <span class="gen">here will be code for left navbar</span>

 </td>
 <td width="100%" align="center" valign="top">
and in overall_footer.tpl put this (at the beginning of file):

Code: Select all

 </td>
 <td width="200" align="center" valign="top">
  
  <span class="gen">here will be code for right navbar</span>

 </td>
</tr>
</table>
..and replace text with what you want to see there.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Fri Apr 18, 2003 12:08 am

Hey why isnt it working right?

www.clanpta.com/tta

Look at all the space between the forums themselves and the right sidebar. What did i do?

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Fri Apr 18, 2003 12:09 am

Hey why isnt it working right?

www.clanpta.com/tta

Look at all the space between the forums themselves and the right sidebar. What did i do?

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Fri Apr 18, 2003 12:49 pm

Sorry about the double post...I didnt think it posted the first time and I got this weird debug mode thing.

thetribe
Registered User
Posts: 73
Joined: Sat Feb 16, 2002 10:46 pm
Location: Ashington, Northumberland. UK
Contact:

Post by thetribe » Fri Apr 18, 2003 12:59 pm

I'd imagine because it seems you have
<td width="400" align="center" valign="top">


instead of
<td width="100%" align="center" valign="top">


in your overall header
Phil.
--
Image

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Fri Apr 18, 2003 3:22 pm

I need that to be a fixed width so it will fit the title image tho.

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Fri Apr 18, 2003 3:28 pm

And not just that, it deletes my empty cells i used for spacing and changes the size of the left and right bar to fit exactly how long the text in them is.

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Sat Apr 19, 2003 11:43 am

*bump*

ozzy2000
Registered User
Posts: 4
Joined: Sat Apr 19, 2003 10:38 am

netclectic

Post by ozzy2000 » Sat Apr 19, 2003 12:36 pm

I don't know if it's possible to post this. I read the forum rules, and I don't think it's a spam. Or I may have missed it.

Anyway, I found an instruction how to put a right sidebar. I used this in my forum. http://www.netclectic.com/forums/viewtopic.php?t=281

Sorry, but I cannot comment on 2 sidebars.

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Sat Apr 19, 2003 2:02 pm

I already have both a left and a right sidebar. My problem is that between the forum itself and the right sidebar, there is a whole lot of space and I cannot figure out why!

This is how my site Should look:

Code: Select all

                          Title picture
Left Sidebar| 26px of space | Forum | 26px of space | Right sidebar
Now everything in that is correct other than the fact that there seems to be like 250+ px (pixels) of space between the forum and the right 26px of space and I cannot figure out why! PLEASE help :cry:

User avatar
GPHemsley
Registered User
Posts: 1475
Joined: Fri Apr 18, 2003 3:12 am
Location: Long Beach, NY
Name: Gordon Hemsley
Contact:

Post by GPHemsley » Sat Apr 19, 2003 2:11 pm

I don't know what forum you're looking at, ;) but this is what I see:

[LINK TO IMAGE REMOVED]

I don't see any spacing problem....
Last edited by GPHemsley on Wed Apr 30, 2003 2:27 am, edited 9 times in total.

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Sat Apr 19, 2003 11:02 pm

As I said a few posts up the forum is at

http://www.clanpta.com/tta

And if you go there you can see the spacing problem.

User avatar
GPHemsley
Registered User
Posts: 1475
Joined: Fri Apr 18, 2003 3:12 am
Location: Long Beach, NY
Name: Gordon Hemsley
Contact:

Post by GPHemsley » Sat Apr 19, 2003 11:05 pm

No, you see, the point of my message was an image post of what I see (which has no spacing problem), but could not find anywhere to put the image!

EDIT: OK, I found a host, there's the pic. ^^^^

Mysterio
Registered User
Posts: 96
Joined: Thu Aug 22, 2002 5:36 pm
Contact:

Post by Mysterio » Sun Apr 20, 2003 1:17 pm

it said in the text dude. Instead of doing that man could you instead try to help me?

Locked

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