Bootstrap templates width of 'Text Area' boxes.
We have been looking at the size of the 'Text Area' boxes displayed within the Isis back end template and the Protostar front end template and wondering how to increase the width so that it maximises the available space as opposed to being restricted to the small (approx 200px) size.
Attempts to specify the number of rows and columns made no difference and searching the web didn't reveal any solution.
So we are sharing the 'fix' for the 'width' text area boxes which achieves what we were trying to achieve.
In the form definition XML file navigate to the appropriate 'textarea' field, and then modify the 'class' entry (or add one if it doesn't have one) to the following:
The important bit is the 'textarea-span' after the inputbox. We have tried specify specific span sizes after the 'span' but these do not make any difference. i.e. span6, span8 etc.
Once the from is refreshed then the boxes will occupy what ever width is available. This works with Isis and Protostar templates, so should work with any Bootstrap based templates.