PDA

View Full Version : Enlarge Text Box


Jag_Five-O
10-15-2008, 01:16 AM
I am wondering if anyone can tell me how to make the text box larger. The area in which you type the messages for both PMs and posts is too small and I want to know where in the style template do you alter the code to make it wider and easier to read. If you don't understand what I mean please ask as I'm sure some other people might be interested as well. Thanks.

Jag

Lynne
10-15-2008, 01:20 AM
Style Manager > find your style > StyleVars > Message Area Width (pixels) (This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin)

Jag_Five-O
10-15-2008, 02:10 AM
I have increased the size and while it does work, if you shrink the IE window it goes off the page. Is there any way to get it to work with a percentage instead of being fixed by pixels?

Lynne
10-15-2008, 03:32 AM
Probably - if you find the template and then change the value in the template. To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Then, go edit the template and find where the width is declared (it will be defined with a $stylevar) and replace it with a percent.

Jag_Five-O
10-19-2008, 02:51 AM
I'm sorry, but I just can't figure out how to get the box to increase unless I fixed the pixels, but then it looks ugly. Could there possibly be another file I have to edit that is controlling it, or is there possibly something wrong with my template.

Seven Skins
10-20-2008, 05:05 PM
You will have to edit 4 settings.

Go to AdminCP ... Style Manager > your style > StyleVars >

Form Width (pixels) 800px
Message Area Width (pixels) 700px

^^ Above two seetings for new thread.

User Control Panel Form Width (pixels) 640px
User Control Panel Message Area Width (pixels) 540px

^^ These two for Control panel area.

Above values nicely fit in 1024 x 768 resolution.

.