Image not opening in the middle #2109
-
I'm using Phoca Gallery Joomla plugin that uses 4.1.3 version of this. There's a really weird problem where on e.g. this page: https://lenkraddesign.eu/oferta/dywaniki-samochodowe it results in small popup that only spawns on last instance of a gallery group. But e.g. here: https://lenkraddesign.eu/galeria/dywaniki-samochodowe/dywaniki-welurowe/dywaniki-premium it opens fully correctly. It also started occuring randomly. Without any errors in the console. I asked the developer of the plugin but so far this led to nothing. So trying my luck here. Any idea what even could cause something like this? As not to sure how to debug it, looks like a bug in either the gallery plugin or that Photoswipe version. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
In the old version, it depends on where the PhotoSwipe root HTML element is placed, to make it cover the screen - generally, it should be close to the root html node (if it's not - styles of parent elements should be adjusted). I don't think there is any easy way to fix it without coding knowledge. |
Beta Was this translation helpful? Give feedback.
Check where
<div class="pswp">
element is added, and try to move it closer to the root document node, or fix its parent styles so it can overlap page content.