Page 1 of 1

Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Posted: 12 May 2016, 13:36
by magarcia
Hello, I am working with PhocaDownload. I have created categories and subcategories. I want to know how can I change the witdh on the input box COM_PHOCADOWNLOAD_SELECT_CATEGORY. See the image:

http://imgur.com/LnOjtPd

I'd like the size:

http://imgur.com/zcE0XK0

Thank you.

Re: Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Posted: 13 May 2016, 13:03
by magarcia
Hello, I can change the width of the file name in joomla/media/com_phocadownload/css/main/phocadownload.css

#phocadownload-upload .comment-input{
width: 98%;
}

but I don't find where I can change the input COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Re: Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Posted: 13 May 2016, 13:41
by magarcia
Hello, I found in the file joomla/administrator/components/com_phocadownload/libraries/phocadownload/category/category.php

I put style="width:500px" in the next line:

$onChO = 'class="inputbox" style="width:500px" onchange="document.'.$form.'.submit( );"';

It works.

Thank you.

Re: Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Posted: 13 May 2016, 14:55
by Benno
Ok.

Kind regards,
Benno