Gallery View: center image in the box

Phoca Gallery - image gallery extension
borja
Phoca Enthusiast
Phoca Enthusiast
Posts: 69
Joined: 16 Apr 2011, 22:21

Gallery View: center image in the box

Post by borja »

How can i center an image in a box of the gallery view? Sometime I´ve got a vertical image and other times i´ve got a horizontal image and the image must be centered in their box. i´ve trying to modyfied css: pg-cv-box but it doesn´t work properly.
User avatar
KarEm
Phoca Professional
Phoca Professional
Posts: 154
Joined: 20 Dec 2015, 21:25

Re: Gallery View: center image in the box

Post by KarEm »

Hi,
we need to know more details. Are you talking about the settings for the Detailed View? If so, which Detail Window Method did you choose? The most helpful is a link to the page.

Regards
KarEm
User avatar
KarEm
Phoca Professional
Phoca Professional
Posts: 154
Joined: 20 Dec 2015, 21:25

Re: Gallery View: center image in the box

Post by KarEm »

Hi,
please check the settings in Global Configuration > Phoca Gallery > Category View Settings > Different Thumbnail Height -> Yes (Masonry Effect) and underneath
Category View Settings > Masonry Effect - Centering -> Yes (Fit Width)

Regards
KarEm
Post Reply