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.
Multiple columns when showing pictures
- Benno
- Phoca Hero

- Posts: 9965
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Multiple columns when showing pictures
Hi,
did you check this behavior with a Joomla! Standard Template e.g. Protostar?
Kind regards,
Benno
did you check this behavior with a Joomla! Standard Template e.g. Protostar?
Kind regards,
Benno
-
bi-art
- Phoca Member

- Posts: 10
- Joined: 10 Sep 2015, 11:45
Re: Multiple columns when showing pictures
No, I'm using Shape5
- Benno
- Phoca Hero

- Posts: 9965
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Multiple columns when showing pictures
Hi,
Kind regards,
Benno
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.No, I'm using Shape5
Kind regards,
Benno
-
bi-art
- Phoca Member

- Posts: 10
- Joined: 10 Sep 2015, 11:45
Re: Multiple columns when showing pictures
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.
- Benno
- Phoca Hero

- Posts: 9965
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Multiple columns when showing pictures
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
Benno
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
Kind regards,Try following: Add this code at the end of your template.cssCode: Select all
.pg-cv-box { float:left; padding:10px; }
Benno
-
bi-art
- Phoca Member

- Posts: 10
- Joined: 10 Sep 2015, 11:45
Re: Multiple columns when showing pictures
I tried this. It didn't do the trick for me. Still see only 1 long column with my photos.
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: Multiple columns when showing pictures
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
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