-
AuthorPosts
-
November 9, 2017 at 11:03 am #874589
Hi,
Is there any way to center images in the horizontal gallery? By default, the layout location is on the left of the page.
Thanks
November 9, 2017 at 3:24 pm #874704Hey Ultrahead,
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
VictoriaNovember 9, 2017 at 6:48 pm #874809Hi Victoria, 2 images attached (current and goal).
As you will see, current shows that images are positioned to the left of the element. The goal is to center images.
Also, there is a bug with this element for mobiles since it seems to be assuming that the layout of provided images is landscape. In my case, it is not. So, even if you set not to scale images (and remain with original size), the images are cropping in their height given that “canvas” (frame) were each is rendered has a landscape aspect ratio. EDIT: it works ok for desktops.
- This reply was modified 7 years ago by Ultrahead.
November 10, 2017 at 5:46 pm #875242Hi Ultrahead,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaNovember 11, 2017 at 7:45 pm #875573Hi Victoria, sure. Done! (it’s a wip)
Please due notice that images on the horizontal gallery are not centered (you can see this with the desktop version). And then, use a mobile phone (not a tablet), to see the problem with the images being cropped (as if they were shown in landscape).
November 13, 2017 at 11:38 pm #876368Hi,
Actually that is the way the theme works.
It is an intended view, based on how the theme is been build.To have it work an other way, most probably you have to hire someone who will be able to help you
out with the customisations you need to do.Best regards,
BasilisNovember 13, 2017 at 11:58 pm #876378So you are telling me that Enfold assumes that images are shown in landscape mode for the horizontal gallery on mobile? If so, what’s the purpose of allowing to set NOT to modify original size on such element? Or event select one of the options whose aspect ratio is portrait (the last one) on such element? The cropping of portrait images on mobile as if they were landscape ones, is not a bug?
- This reply was modified 7 years ago by Ultrahead.
November 14, 2017 at 5:38 pm #876691Hi Ultrahead,
Looks like at this time horizontal gallery does not handle vertical images well, we will report it to our developers. Anyway, the images you’re trying to show in it on mobile are too big for mobile. I suggest you make thumbs and create another gallery to be shown just on mobile.
Best regards,
VictoriaNovember 14, 2017 at 6:09 pm #876706Hi Victoria,
Thanks for the tip. That could also be a suggestion for the horizontal gallery: a checkbox labeled “Show thumbnails on mobile”.
Thanks again and best regards
November 16, 2017 at 6:43 pm #877663Hi!
I passed this issue to our developers, they might look into your suggestion with thumbs. Thank you :)Best regards,
VictoriaNovember 16, 2017 at 9:26 pm #877754Hi, thanks!
Is there any link to a log where I can follow up progress on the issue? (image cropping, not the suggestion)
Best regards
November 18, 2017 at 11:35 am #878496Hi Ultrahead,
Unfortunately, that area is not public.
Best regards,
VictoriaJanuary 30, 2018 at 3:28 pm #904953Hi, v4.2.2 is out but I do not see any comments on the changelog on this regard. Any update/news about it’s progress? Thanks.
January 31, 2018 at 8:05 pm #905736Hi,
It was not, as it was not a major issue.
There will be an updated version, check it if it solved your issue please ( next day or two )Best regards,
BasilisFebruary 11, 2018 at 2:06 am #910701Checked. Unfortunately the issue persists.
February 12, 2018 at 10:58 am #910998Hi Ultrahead,
This can center the images on iPad and desktop screens.
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@media only screen and (min-width: 768px) { .av-horizontal-gallery-slider { left: 7% !important; } }
If you need further assistance please let us know.
Best regards,
VictoriaFebruary 12, 2018 at 5:06 pm #911185Hi Victoria, thanks for the code. It does work for centering.
Is there any coding workaround for the portrait-image issue on mobiles?
Looks like at this time horizontal gallery does not handle vertical images well, we will report it to our developers.
February 13, 2018 at 5:26 am #911520 -
AuthorPosts
- You must be logged in to reply to this topic.