OS Property support center

Extend the text fields in properties administration

  • Albert
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 1 month ago #110494 by Albert
Hi, i would like to extend the lines of some fields in the property administraton pages, like in the picture enclosed, thanks.
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #110527 by Mr. Dam
Hi,
Actually, there are 2 ways to extend the width size of input boxes in Property modification page.
1. Modifying source code of OS Property to change CSS classes of those boxes. There are some files and functions you need to know
- root > components > com_osproperty > classes > listing.php - function "edit"
- root > components > com_osproperty > helpers > layouts > propertyedit.php
After modifying, please backup those files for future installation.
2. Using Inspect Element tool of browser to find CSS class, then, using feature: Custom CSS at OS Property Configuration to add custom css
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Albert
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 1 month ago #110543 by Albert
Hi Dam,
i tried with the Custom Css in configuration and wrote:
Code:
#pro_name .input-large .value{ width: 400px; }

but nothing happens..

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #110615 by Mr. Dam
Hi,
Just need to put:
#pro_name{
width:400px !important;
}
Good luck
Dam
The following user(s) said Thank You: Albert

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan