Tagged: enfold, horizontal gallery, Photography demo, portfolio item
I was surprised to see this morning that the images that I had in a horizontal gallery > portfolio item > on a mobile device were cropped really badly.
https://www.wildsugar.art/portfolio-item/wild-sugar-shoot-shania-bolen/
here is how it looks on a desktop:
Here is how it looks on a mobile device.
I have tried many different settings to resolve this and have searched your forum high and low for a resolution but I see nothing.
I have had to change the galleries on my 3 most recent portfolio items.
I shudder to think what anyone would have thought coming to my website after seeing badly cropped images like that. I’ve been gutting my website on my wife’s birthday trying to fix this. she’s absolutely furious.
I paid to renew my support. Do I need to show my receipt? Can I get some help with this?
Hi,
Thank you for the inquiry.
You can add this css code to adjust the size of the images on mobile view.
.responsive .av-horizontal-gallery-img {
height: 100%;
width: auto;
}
By default, the width the of the horizontal gallery images on mobile view is set to 100% and the height is set to auto to keep their aspect ratio.
Best regards,
Ismael
Hi @ismael That worked. :-)