Hi,
I have a gallery on my page. But it seems there are unnecessary spaces between the pics. This only happens on IOS, not on other devices.
See here: https://imgur.com/a/gdpOKcH
Any guesses?
Thanks
Hi Stefan,
Can you give us a link of the page shown in the screenshot?
Best regards,
Nikko
Hi Stefan,
Thanks for providing the link however the galleries seem to show in one column and I could not find the layout shown in the screenshot.
Best regards,
Nikko
On which device did you test it? It only appears on iOS
eventuell reicht schon:
might already be enough:
@media only screen and (max-width: 767px) {
.avia-gallery-thumb {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
}
}
@media only screen and (max-width: 495px) {
.avia-gallery-thumb a {
flex: 1 1 100%;
width: unset !important;
}
}
just change the 495px to a width you like to have the one column layout
Its still there – I use a gallery with a large pic above and then thumbnails below:
See here https://imgur.com/a/CtqoqxJ
Hi Stefan,
I could see it now.
Please try to use @Guenni007’s solution.
Or you can also try this code and see if it helps:
@media only screen and (max-width:767px) {
#top .avia-gallery-thumb {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
#top #wrap_all .avia-gallery .avia-gallery-thumb a {
float: none;
width: 100%;
}
}
Best regards,
Nikko
it worked! Thank you both :-)
Hi Stefan,
I’m glad that we could help you :)
Thanks for using Enfold and have a great weekend!
Best regards,
Nikko