List Manager Forum

Changing column width in view and pdf

User Dollin 2015-12-03 06:48:03

I am using List Manager as a Staff Telephone list with 8 columns displayed. Some of the columns do not display well as they wrap the text (e.g. mobile number). Is there a way to change the column widths in both the View mode and the Exported PDF mode, or alternatively a means for changing the font size, to allow the field to display correctly (i.e. on a single line)?

Moonsoft support 2015-12-03 12:31:25

Hi,
for the fronend view, each column has a specific css class you can configure. The class names are lm_column_0, lm_column_1...so you only need to add to your css one block with your column index, setting the font size and/or the no-wrap property, for ex:


.lm_column_0 {
font-size:8px;
}

or

.lm_column_4 {
white-space: nowrap;
}


for the pdf there is no way to style output with css file, so if you want to change any property, you should edit the file


JOOMLA\components\com_listmanager\views\serverpages\tmpl\pdf.php


and introduce style tags directly to the td (about line 36)

Hope this helps, regards

...
CalcBuilder

Create dynamic calculators

Buy now!
...
List Manager

Build different lists for your site

Buy now!