-
AuthorPosts
-
November 21, 2017 at 12:45 am #879437
Hi Enfold-Team!
The pics of the horizontal gallery on mobile view are appearing cropped.
How can I change this?Thanks in advance :)
FritzNovember 21, 2017 at 5:33 am #879495Hey fritzves,
Please, can you share with us a screenshot about this issue?
Best regards,
John TorvikNovember 21, 2017 at 11:28 am #879650Hi John!
I added two screenshots below (as private content).
Thanks!
FritzNovember 23, 2017 at 11:17 pm #880966Hi,
And that is happening only to mobile, correct?
Well the issue is because the size of the images on mobile. To make all the content look good – they images are been cutted to parts.Best regards,
BasilisNovember 23, 2017 at 11:25 pm #880967So you’re telling me, there is no way of avoiding this?
My client wants the pics to appear in full – not cropped – and he has a point as they are isolated images on white background.November 25, 2017 at 2:18 pm #881600Hi fritzves,
This will make it look a bit better :)
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css.av-horizontal-gallery.av-horizontal-gallery-large-gap.av-horizontal-gallery-1.avia-builder-el-2 { min-height: 355px; }
If you need further assistance please let us know.
Best regards,
VictoriaNovember 25, 2017 at 4:42 pm #881658Hi Victoria!
I added the code, but do not see a difference …November 25, 2017 at 7:51 pm #881720Hi fritzves,
I am seeing the whole image now. It is not cropped anymore. Could you please clear the cache, check again and get back to us.
Best regards,
VictoriaNovember 25, 2017 at 8:07 pm #881729Hi Victoria!
Yes – it is definitely an improvement, I see it now on my smartphone.
Thanks for your reply.
Case closed :)best regard
FritzNovember 26, 2017 at 7:19 am #881837Hi Fritz,
Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJanuary 13, 2018 at 8:05 pm #896922Hey, Gave this a try but still getting cropped images on the horizontal gallery on mobile phones.
This is the page that I’m working on:
January 15, 2018 at 8:57 am #897426Hi,
I have checked it but it doesn’t look cropped on my end, can you post a screenshot how it looks on your end?
Best regards,
NikkoJanuary 23, 2018 at 11:53 pm #901756Here are some screenshots from desktop and mobile.
Pictures still appear to be cropped in mobile version:
January 25, 2018 at 5:03 am #902514Hi,
I have checked it but it seems you have already hidden the horizontal gallery in mobile and use masonry as a substitute to the gallery. Let us know if you still need assistance on it.
Best regards,
NikkoFebruary 8, 2018 at 1:28 pm #909752Hi, we are having the same problem with our horizontal gallery in homepage. Seeing cropped photos on mobile. I tried copying Victoria’s code but nothing changed. Can you please help me solve the problem?
February 10, 2018 at 3:14 pm #910524Hi,
Can you try adding this css code in Quick CSS:
@media only screen and (max-width:767px) { .av-horizontal-gallery.av-horizontal-gallery-large-gap.av-horizontal-gallery-1.avia-builder-el-5 { overflow: visible !important; } }
Let us know if this helps :)
Best regards,
NikkoFebruary 11, 2018 at 1:35 pm #910744I am experiencing precisely the same problem. I attempted adding her code to the quick css section, and then to custom.css. Your version of the fix unfortunately didn’t change anything either :(
February 11, 2018 at 11:12 pm #910807Hi csavalas,
Can you give us a link to the page showing your horizontal gallery?
Best regards,
NikkoFebruary 11, 2018 at 11:16 pm #910808Sure, I just put it in the private content below.
February 11, 2018 at 11:48 pm #910823Hi,
Thanks, can you try adding this css code in Quick CSS (located in Enfold > General Styling):
.av-horizontal-gallery.av-horizontal-gallery-large-gap.av-horizontal-gallery-1.avia-builder-el-18 { min-height: 667px; }
Hope this helps :)
Best regards,
NikkoFebruary 12, 2018 at 12:09 am #910831First of all, thank you for the code snippet. That does indeed prevent the clipping, but it still only shows one image. Any idea how to show a few at a time, like on a desktop browser? I tried adjusting some of the gallery settings, to no avail.
February 12, 2018 at 12:24 am #910836Hi,
It would be too narrow to show few images at once, would it be okay if we just show the prev and next slider controls on mobile so there’s an indicator that there’s other images? just add this css code in Quick CSS:
@media only screen and (max-width:767px) { #top .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } }
Best regards,
NikkoFebruary 12, 2018 at 12:30 am #910838I totally agree that it would be normally too narrow, but my images are actually portrait orientation, so it would actually look better to show a few at a time. As it is right now, the image takes up practically the entire phone screen, because of the aspect ratio of the images. Any ideas :) ?
February 12, 2018 at 12:47 am #910848Hi,
Can you try to replace all the codes I gave to:
@media only screen and (max-width:767px) { .av-horizontal-gallery.av-horizontal-gallery-large-gap.av-horizontal-gallery-1.avia-builder-el-18 { min-height: 167px; } #top .av-horizontal-gallery-fullwidth .av-horizontal-gallery-wrap { max-width: 25vw; } #top .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } }
Let us know if this helps, you might need to adjust some of your images and use similar height and width :)
Best regards,
NikkoFebruary 12, 2018 at 1:19 am #910857Dude, you’re a genius. That totally works! Since they’re now smaller, I’m need to activate the lightbox link. Is there any way to globally have the entire images clickable, and not just the small arrows for the lightbox links? If not, I’ll just manually add custom links for each image in the gallery, pointing to themselves. Thank you for your help!
February 12, 2018 at 1:22 am #910858FYI, adding custom links screws up the formatting you gave me, so scratch that idea. Hopefully there’s a simple way!
February 12, 2018 at 9:05 am #910953Hi,
Hmm, can you try to adding the custom links again and remove the code I gave, let me know if you have done this and I’ll try to write another code that should fix it :)
Best regards,
NikkoFebruary 12, 2018 at 9:05 am #910954Hi,
Hmm, can you try to adding the custom links again and remove the code I gave, let me know if you have done this and I’ll try to write another code that should fix it :)
Best regards,
NikkoFebruary 12, 2018 at 10:14 am #910974Hey there! I just removed your custom css (other than the permanent navigation arrows), and linked each picture to itself.
February 12, 2018 at 10:59 am #910999Hi,
Thanks, try adding this css code in Quick CSS:
@media only screen and (max-width:767px) { .av-horizontal-gallery.av-horizontal-gallery-large-gap.av-horizontal-gallery-1.avia-builder-el-18 { min-height: 215px; } #top .av-horizontal-gallery-fullwidth .av-horizontal-gallery-wrap { max-width: 33.34vw; } #top .av-horizontal-gallery-img { top: 0 !important; transform: none !important; } #top .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } }
Hope this helps :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.