How to center the display in a category

Phoca Gallery - image gallery extension
Mighty5x
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Feb 2013, 15:22

How to center the display in a category

Post by Mighty5x »

Hello everybody,

can anybody tell me how to center the content of a category on my website?

As u can see in the link below are the shown pictures of my album (category) on the left side of the page.
But I want to have them in the middle of the page.

http://tc-rothenburg.de.www115.your-ser ... n-cup-2012

Thanks
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9971
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to center the display in a category

Post by Benno »

Hi,
As u can see in the link below are the shown pictures of my album (category) on the left side of the page.
But I want to have them in the middle of the page.
backend --> Components --> Phoca Gallery --> Phoca Gallery Control Panel --> Options --> Display --> General Settings --> Phoca Gallery Width=(Try out a value, e.g.)600
Phoca Gallery Center=Yes(Categories View, Category View or both)
Save & Close

Kind regards,
Benno
Mighty5x
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Feb 2013, 15:22

Re: How to center the display in a category

Post by Mighty5x »

Hi and thanks for ur answer,

but this don´t work.
Because the gallery shows 3 pictures side by side (like at the moment) and if I change the settings u told me, it show 4 images side by side.
But the 4th don´t appears in the full size.
There´s a "cut" in the middle of the element, if u understand what i´m meaning.
Here is the link again:
http://tc-rothenburg.de.www115.your-ser ... n-cup-2012

I don´t want the gallery to display more pictures parallel I just want to center the normal count (3) :(

Greets
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9971
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to center the display in a category

Post by Benno »

Hi,
but this don´t work.
Because the gallery shows 3 pictures side by side (like at the moment) and if I change the settings u told me, it show 4 images side by side.
But the 4th don´t appears in the full size.
There´s a "cut" in the middle of the element, if u understand what i´m meaning.
That's why I recommended you to try out a matching value. 600 was only an example.

Kind regards,
Benno
Mighty5x
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Feb 2013, 15:22

Re: How to center the display in a category

Post by Mighty5x »

Hi,

I understand that 600 was just an example.

But the matter is, up to 567 it shows 3 pictures, from 568 it shows 4 pictures :/
And it still don´t center it ... :(

Greets
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9971
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to center the display in a category

Post by Benno »

Hi,
try to check Phoca Gallery centering with a standard template like Beez_20 is.
It's possible that your template overwrite some Phoca Gallery settings.

Kind regards,
Benno
Gelsenfranz
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 26 Jun 2013, 13:00

Re: How to center the display in a category

Post by Gelsenfranz »

Is there another way? If I set a fixed width I will loose my responsive design for mobile devices.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to center the display in a category

Post by Jan »

Hi, this is the common problem, there is float left and float right methods/attributes in html/css but no float center - you can do some html tricks like margin: 0 auto but this mostly works with fixed width, you can try to center it with help of javascript method too.

Jan
If you find Phoca extensions useful, please support the project
Post Reply