More than full site image

Phoca Gallery - image gallery extension
User avatar
christine
Phoca Hero
Phoca Hero
Posts: 3049
Joined: 28 Nov 2010, 17:20

Re: More than full site image

Post by christine »

I temporarily deleted lines 13–17 (current version) and then added the code shown above.
The images are centered. It looks good to me.

Kind regards,
Christine
AlainR
Phoca Enthusiast
Phoca Enthusiast
Posts: 82
Joined: 24 Jul 2018, 16:33

Re: More than full site image

Post by AlainR »

You're right, it's better but not vertically centered.

And the other problem is that the CSS code isn't stable. Please try by yourself: click on this photo (http://www.thierry-images.ch/galeries-d ... id=1&pid=8) and then browse for at least 2 photos, then navigate in the other direction to return to this photo: it is then aligned to the left. All the other photos are aligned to the left.
User avatar
christine
Phoca Hero
Phoca Hero
Posts: 3049
Joined: 28 Nov 2010, 17:20

Re: More than full site image

Post by christine »

Hi,

I ran a test by temporarily removing the entire user.css file. Then the images were centered, including the vertical ones.
So, I started looking for which line wasn't working.

I changed line 13 to:
and removed the !important; entry.

Code: Select all

.pswp__zoom-wrap {transform:none;}
After that, it worked (again).

Kind regards,
Christine
Post Reply