News:

Support the VirtueMart project and become a member

Main Menu

Admin section - make Category Name field wider ?

Started by blackrat999, January 15, 2015, 15:38:01 PM

Previous topic - Next topic

blackrat999

The Description field is massive and i dont use this very often, i would like the categories to show up across one line and not use 2 - is it possible to make the category wider at the expense of the description width please ?>

maybe so that future updates dont overwrite it would be perfect !



thanks

[attachment cleanup by admin]

jenkinhill

Easily done. Edit the file  administrator/components/com_virtuemart/views/category/tmpl/default.php  to change the width set for the category name:
<th align="left" width="12%">
            <?php echo $this->sort('category_name') ?>
         </th>

In VM2.6.x the description column has no width set, so will narrow as the name column size is made wider.

Use the edited file as an override within your Joomla admin template so it won't get overwritten.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum