0
How to adjust the text field size of the description?
Thank you
Thank you
Responses (11)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Hello,
the CSS can be set in the file /administrator/components/com_invoices/assets/invoices.css
HOWEVER, changing the description to Multi-line is something else, it's not just CSS. this means you need the field to be transformed from HTML's "text" field to "textarea", that's the only way. the problem with this is that it requires HTML changes in the layout files but also in JS files and PHP... it's not so easy, it would require a bit of extra custom coding work. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0can you give me the code please?-
Germinal Campsmore than a month agoI don't "have" the code, I would need to create it.. have you been able to modify some CSS classes?
-
-
Accepted Answer
0Hi Germin,
I don't have any experience creating css. Please help me to create that CSS.
Thank you-
Germinal Campsmore than a month agoI can help you with the CSS to make that widder, but remember that will not allow a multi-line description. that would actually require CODE change and that would have to be made through our custom coding service.
-
-
Accepted Answer
-
Accepted Answer
0well, basically you need to open the file /administrator/components/com_invoices/views/invoice/tmpl/form.php and locate the part where the items are printed. then, add some custom class to the description input field.
you will have to add the same class on the file /administrator/components/com_invoices/assets/items.js
then, on your main CSS file, simply set the width to be wider:
.yourclass{width:400px;}
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »