miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | Forums | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   
 

postText text area size

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

PM Postarea

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


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
 
miniBB Support Forums Powered by Forum Software miniBB ® 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.
↑ TOP