Page 1 of 1

Multiple columns when showing pictures

Posted: 10 Sep 2015, 11:55
by bi-art
I've been looking for a property to change the number of columns to show my pictures. Guess it's pretty basic to do this, but still can't find it.
My photos are now all in one long list, but I would like 3 or 4 columns next to eachother when clicking an album.
There are some forum topics on this, but that didn't help me. And I can't find the subject in the manual.
I'm running Phoca Gallery 4.2.1 on Joomla 3.4.4.
Any help kindly appreciated.

Re: Multiple columns when showing pictures

Posted: 10 Sep 2015, 13:11
by Benno
Hi,
did you check this behavior with a Joomla! Standard Template e.g. Protostar?

Kind regards,
Benno

Re: Multiple columns when showing pictures

Posted: 10 Sep 2015, 17:59
by bi-art
No, I'm using Shape5

Re: Multiple columns when showing pictures

Posted: 10 Sep 2015, 19:38
by Benno
Hi,
No, I'm using Shape5
Then you should consult the developers of your template, because I don't know it. I am relatively sure that the problem would not exist with a Joomla! standard template like e.g. Protostar is, but as long as you do not want to switch to protostar for testing, just everything remains speculation. :(

Kind regards,
Benno

Re: Multiple columns when showing pictures

Posted: 10 Sep 2015, 23:49
by bi-art
I see it works fine with protostar. But I still don't find a setting to control the number of columns. Is it done automatically, based on size of thumbnails and frame? That might help me to figure out something in Shape5. Thanks for your thinking with me and fast replies.

Re: Multiple columns when showing pictures

Posted: 11 Sep 2015, 08:03
by Benno
Hi,
the Phoca Gallery Category View works with float boxes. This means, the count of columns you see depends on the width of your screen (and of course the width of your Joomla! content area).

If you like, you can try out Christine's solution: viewtopic.php?f=1&t=37810
Try following: Add this code at the end of your template.css

Code: Select all

.pg-cv-box {
float:left; 
padding:10px;  }
Kind regards,
Benno

Re: Multiple columns when showing pictures

Posted: 11 Sep 2015, 09:54
by bi-art
I tried this. It didn't do the trick for me. Still see only 1 long column with my photos.

Re: Multiple columns when showing pictures

Posted: 11 Sep 2015, 11:47
by christine
Hi,

For instance: If you change temporarily: http://www.shape5.com/joomla/framework/ ... ework.html site.css >
.pages_three {
float: left;
width: 33%;
}
you will see a change in the layout. E.g. deleting the float:left; or changing the width, whatever.

Of course, above code 'could' be just one reason of several.
It might be, that you have to check some parameters of your template.

Kind regards, Christine
Hi Benno :-)