Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Phoca Download - download manager
magarcia
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 12 May 2016, 13:12

Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Post 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.
magarcia
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 12 May 2016, 13:12

Re: Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Post 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
magarcia
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 12 May 2016, 13:12

Re: Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9610
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Modify width COM_PHOCADOWNLOAD_PLEASE_SELECT_CATEGORY

Post by Benno »

Ok.

Kind regards,
Benno
Post Reply