Previous Thread
Next Thread
Print Thread
Hop To
#207379 02/26/2008 7:51 AM
Joined: Jan 2007
Posts: 57
F
journeyman
journeyman
F Offline
Joined: Jan 2007
Posts: 57
I want to have a small fixed size for my left column (max 120px). Where can I define this?

Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
You should be able to go into your style, to this section:

Left/Right Column Properties -> .left_col

And add this into the box:

width: 120px;

I haven't tried it, there may be something else controlling the width, but that's my first shot. smile


- Allen
- ThreadsDev | PraiseCafe
Joined: Oct 2007
Posts: 92
L
journeyman
journeyman
L Offline
Joined: Oct 2007
Posts: 92
When you decrease the size of the left column, there's a space between the column and the middle. How to shift the middle to the left column?

Joined: Jan 2007
Posts: 57
F
journeyman
journeyman
F Offline
Joined: Jan 2007
Posts: 57
Originally Posted by luckie
When you decrease the size of the left column, there's a space between the column and the middle. How to shift the middle to the left column?

Anybody some advice?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yah, there is a hard wired 15% setting for the column widths (left/right)

in templates/default/left_column.tpl you could replace {$left_width} with 120..

then the problem, which you are running into is the $body_width value (which is either 85% for 1 column or 70% if you have both columns turned on)..

if you have a fixed width forum, then just replace {$body_width} with another fixed number or percentage..

...

now if you have a right column issue too, then there is also a right_column.tpl file that can be adjusted..

i personally just remove all the $xxx_width values from the tpls and let the CSS classes take over. i also have a fixed width forum and only ONE column turned on, so everything is known and there is no guessing values based upon number of enabled columns..

your choice smile





Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (Gizmo), 156 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)