Hi,
I would like to put some “Before / After” images in a lightbox gallery. I read some posts in the forum and I came to the conclusion that I have to insert the HTML code needed for the “Before / After” images on a page. Then create a gallery with “Essential Grid” and set it in “Lightbox” as the source “Post content” and finally put the “Essential Grid” on the desired page.
This is the post that most helped me: https://theme.co/apex/forum/t/creating-a-gallery-with-lightbox-with-html-content/23936
I succeeded and everything works as you can see here: https://solid3d.it/fotoinserimenti-temp/
I have only one small problem. When I open the gallery from a smartphone (I have tried with several smartphones) the result is what you see in the attachment.
Practically the image is not centered and there is a black part that reaches the end of the view.
I also tried to use a post instead of a page but in the lightbox but the problem remains.
The fact is that I managed to do a similar thing on this page: https://solid3d.it/360-2/ where the gallery opens 360 ° images but the “Before / After” images I can’t sitemarle correctly.
Can you help me to solve this problem?
In a secure note I attach your login credentials and you can change everything you need. The page containing the “Before / After” image is called “Appartamento privato”, the “Essential Grid” is called “Fotoinserimenti Temp” and the page where the “Essential Grid” is inserted is called “Fotoinserimenti Temp”. You can also remove the custom CSS (which I put in “Pro” -> “Theme Options”) since I made a backup.
Thank you and have a good day