Loading...
 
Themes

Themes


How to change the column width of the files tracker field in listings?

Both in the standard tracker items listing, and in listings from trackerlist & trackerfilter plugins, the files field contents are displayed as numbered items in a row (see attached screendump), thus forcing the column width to be unnessecary wide (even with only a single file attached). For most field types in a tracker, it is possible to adjust the column width via Custom CSS, by a .field2 { width: 500px;} type of command; this is not working for the files tracker field.
I would like to have the filenames displayed as a single list in a narrow column, and preferably without the numbers in front. If this can not be done by setting some paramaters, then plz indicate where this can be changed in the source code.

Cheers, Joke

United States
I'm having this exact same issue. Pic attached. Can't control column width of "Files" tracker field using css, and there are random spaces in the file name. Hope someone with a little insight chimes in.

United States

I think I got it.

The width of that column is being set by css:

.tracker-item-files {
	column-count: 2;
	column-gap: 30px; 
	-moz-column-count: 2;
	-moz-column-gap: 30px;
	-webkit-column-count: 2;
	-webkit-column-gap: 30px;
}


Not sure why the "column-count" is 2, but changing this to 1 seems to work. Go into tiki-admin.php?page=look Custom CSS and add:

.tracker-item-files {
	column-count: 1;
	column-gap: 30px; 
	-moz-column-count: 1;
	-moz-column-gap: 30px;
	-webkit-column-count: 1;
	-webkit-column-gap: 30px;
}
Thanks a lot! This is exactly what I was looking for, works beautifully :-)

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.