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
More than full site image
-
AlainR
- Phoca Enthusiast

- Posts: 83
- Joined: 24 Jul 2018, 16:33
Re: More than full site image
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.
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.
- christine
- Phoca Hero

- Posts: 3052
- Joined: 28 Nov 2010, 17:20
Re: More than full site image
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.
After that, it worked (again).
Kind regards,
Christine
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;}Kind regards,
Christine
- christine
- Phoca Hero

- Posts: 3052
- Joined: 28 Nov 2010, 17:20
Re: More than full site image
Hi,
As shown above, it looks OK now. Could we close this thread? Thank you.
Best regards,
Christine
As shown above, it looks OK now. Could we close this thread? Thank you.
Best regards,
Christine
-
jow
- Phoca Newbie

- Posts: 7
- Joined: 02 Sep 2026, 13:15
Re: More than full site image
Hello,
I tryed to understand, what you have been discussing but I did not. I switched on in PG options powerswipe as detail view and never did any code at any place to make it run. pswp has always been centered, and your result looks similar to my site. So I am wondering if there is any important reason to do it in a different way than I did.
So I don't really expect an answer, unless it's important.
Regards, Johannes
I tryed to understand, what you have been discussing but I did not. I switched on in PG options powerswipe as detail view and never did any code at any place to make it run. pswp has always been centered, and your result looks similar to my site. So I am wondering if there is any important reason to do it in a different way than I did.
So I don't really expect an answer, unless it's important.
Regards, Johannes
- christine
- Phoca Hero

- Posts: 3052
- Joined: 28 Nov 2010, 17:20
Re: More than full site image
Hi Johannes,
The issue was that there were codes before that included, for example, “left” entries with -50%, etc., for centering. Plus, some /* comments */ were placed incorrectly.
It’s hard to go back and recount exactly what was there before.
The situation changed frequently.
Kind regards,
Christine
Yes, exactly.jow wrote: 16 Sep 2026, 13:02 I switched on in PG options powerswipe as detail view and never did any code at any place to make it run. pswp has always been centered ...
The issue was that there were codes before that included, for example, “left” entries with -50%, etc., for centering. Plus, some /* comments */ were placed incorrectly.
It’s hard to go back and recount exactly what was there before.
The situation changed frequently.
Kind regards,
Christine