View Full Version : Limit forum width?
gearspro
11-11-2009, 10:57 PM
Can someone tell me how to limit how inwards width of my forums? Because Basically as you can see from www.gearspro.com/forums that as soon as it is moved in the site looks a bit silly because the banner stays way across the page and the forums keeps reducing in width. So if someone could help me resolve this problem by limiting the min-width, that would be great thanks.
ShawneyJ
11-11-2009, 11:25 PM
mate, your logo is simply to wide. shorted it to fit your forums, or widen your forums to fit the banner.
sorry if this is not the answer you were looking, maybe i didnt understand.
maybe someone else can help.
i just see a banner way to long.
cheers.
gearspro
11-12-2009, 08:10 PM
No goods :/
I know it can be done with css, i've seen it done on other forums. They never got back to me though.
DeanLag
11-12-2009, 08:29 PM
Definitely your logo. You can either make your logo shorter in width or put it into a table. If you choose the latter, you will lose the banner's effect on one of the sides.
gearspro
11-12-2009, 08:59 PM
Its not that, it fine in size, i just dont want the forum width to reduce past a certain extent. You have to use css to do it, i just dont know what the coding for it is.
Edit: I think you just need to add min-width:1000px; to the "Extra CSS" text area in the "Body" section (using the Style Manager).
gearspro
11-12-2009, 10:05 PM
Edit: I think you just need to add min-width:1000px; to the "Extra CSS" text area in the "Body" section (using the Style Manager).
forum home template?
(Sorry, I messed up again).
forum home template?
Use "Style Manager", and press "Go" next to your style, then scroll down to "Body" and enter it at the bottom of the "Extra CSS Attributes" text area.
gearspro
11-12-2009, 10:32 PM
(Sorry, I messed up again).
Use "Style Manager", and press "Go" next to your style, then scroll down to "Body" and enter it at the bottom of the "Extra CSS Attributes" text area.
:(.
:(.
Didn't work, or I didn't explain it? If it didn't work, maybe I just misunderstood what you wanted.
ETA: I just looked at your site and I can see that the scroll bar appears at the bottom but the forum keeps getting crunched up. I tried it here and that didn't happen for me, so I don't know.
kNeeLy
11-12-2009, 10:36 PM
admincp-->styles&templates--->"go" (on your style)--->header template...
You need SUMTHING along these lines..try it and see if it works..
(this is NOT 100% a for sure thing tho..)
<div align="center">
<table width="988" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<td align="left" valign="below">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
gearspro
11-12-2009, 10:55 PM
admincp-->styles&templates--->"go" (on your style)--->header template...
You need SUMTHING along these lines..try it and see if it works..
(this is NOT 100% a for sure thing tho..)
<div align="center">
<table width="988" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<td align="left" valign="below">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
I added that coding into the body tag, and well as a result the forum has become fixed. :/
Thanks for the help man, any ideas?
Maybe try combining the two ideas? Replace width="988" with style="min-width:988px" (Of course the min-width thing will only keep the content from shrinking and not the window.)
ShawneyJ
11-13-2009, 03:38 AM
ok, it wouldnt of hurt to ask foruma-z as this is a supported template.
im cunfused on what you want.
if you want the forum to be the same width? do the following:
THIS WILL WORK...SEE IN SCREEN SHOT.
if you use FF this mite be spot on width, IE maybe be a tiny different.
1.goto style manger, Sizes and Dimensions, "Main Table Width (pixels or percentage)" put in: 1132
please note, do not add the px
after this your forum will be very close to the right width, but, your images will break, so do the following"
2.in your header template find:
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/nav.jpg)">
change in red (100%) to 1132
3.in footer template find:
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/footbg.jpg)">
again change the red part (100%) to 1132
let me know how you go.
this will work, but may be a px out, but i think you will like it only if you want the forum the width of your banner.
EDIT: added screen shot.
gearspro
11-13-2009, 11:41 PM
Ok thanks for the info, but for some reason the forum contents continue to be fluid as well as the header.
kNeeLy
11-14-2009, 01:06 AM
Ok thanks for the info, but for some reason the forum contents continue to be fluid as well as the header.
soo...do u want hte header bigger than the forum? im lost now..
gearspro
11-18-2009, 04:25 PM
soo...do u want hte header bigger than the forum? im lost now..
Sorry lol, i never thought of a it like that. Basically i would like the forum to be its minimum size before the banner becomes to big, and then the forum width cannot go no less wide than that. But can still be widened, for people with larger screens etc.
:D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.