Page 1 of 1

Reduce the row size to acomodate 2 files in a single row

Posted: 17 Sep 2016, 08:36
by rage76
hello

Currently I am using Phoca Download 3 with J/VM 3+

This is the output I am getting: http://prnt.sc/ciyvy4

I want to show all 3 or atleast 2 files in a single row to save space. How can I do it.

I shall be grateful for a speedy response.

Kindest regards

Re: Reduce the row size to acomodate 2 files in a single row

Posted: 18 Sep 2016, 15:49
by Jan
Hi, this is the plugin output, so for displaying it e.g. on one row, you need to made customizations to the CSS - e.g. to change it to float boxes, etc.
:idea:
Jan

Re: Reduce the row size to acomodate 2 files in a single row

Posted: 19 Sep 2016, 19:45
by rage76
Thank you for the response but I am sorry; I am a novice and do not know programming / coding. Can you help me by telling which files to edit and what code to change/edit? rgds

Re: Reduce the row size to acomodate 2 files in a single row

Posted: 20 Sep 2016, 23:19
by Jan
Hi, CSS changes you can do in your template.

To core edit the php file, see this file:
plugins\content\phocadownload\phocadownload.php

Unfortunately, I cannot give any clue advice of what exactly needs to be edited because I didn't do such customization yet :idea:

Jan

Re: Reduce the row size to acomodate 2 files in a single row

Posted: 21 Sep 2016, 19:56
by rage76
thanks again Jan, but dont you thing this will save a lot of space and is a good idea !!

Re: Reduce the row size to acomodate 2 files in a single row

Posted: 22 Sep 2016, 11:42
by Jan
Hi, yes, but in resonsive design e.g. it does not matter as in mobile phone, you will get the items in row below each other. So in fact, you get it displayed differently in all possible devices. As default, each item has own row like lists have (ul li, ol li). Yes, if one row fits your design better then of course, it is better than to change the design per CSS. (but it is matter of taste - 50% users says, they want to have on one line, 50% on more lines :idea: ) In fact, there are thousands of places which can be differently displayed :idea:

Jan