miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Master Class miniBB Support Forums / Master Class /  
 

postText text area size

 
Author Bluesplayer
Partaker
#1 | Posted: 6 Dec 2015 15:52 
I can't seem to find the code necessary to adjust the textarea size ...

I would like to make it full width.

Thanks

Author kuopassa
Partaker
#2 | Posted: 6 Dec 2015 16:38 
You could use CSS for this. For example this block of styling could go at the bottom of your current CSS file:

textarea { width: 99%; min-width: 200px; resize: vertical; }

Author Bluesplayer
Partaker
#3 | Posted: 6 Dec 2015 16:50 
kuopassa:
You could use CSS for this. For example this block of styling could go at the bottom of your current CSS file:

textarea { width: 99%; min-width: 200px; resize: vertical; }
That did it :)

Thanks

Author kuopassa
Partaker
#4 | Posted: 6 Dec 2015 17:04 
Great. If you want to fiddle with the CSS even more, there's possibility to set min-height and max-height and what not. :-)

Author Paul
Lead Developer 
#5 | Posted: 8 Dec 2015 18:42 
Bluesplayer
As far as I remember, all default versions of PM add-on contain the same posting form, as it's present under the templates/main_post_form.html. Since version 2.2, textarea of this form contains the following CSS attributes:

<textarea name="postText" id="postText" class="textForm postingForm" tabindex="2"></textarea>
postingForm class is exactly the one which should be present under your CSS and which defines this form's width by default.

I guess, if it's there, then it's not required to specify a generic CSS class for all textarea's by default.

Author Bluesplayer
Partaker
#6 | Posted: 8 Dec 2015 22:47 
Thanks Paul

I will take another look and try the above code.

Master Class miniBB Support Forums / Master Class /
 postText text area size
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑