Hi Guys,
I have the columns set to 12 for desktop, but would like to change this to 6 on mobile as the thumbnails appear really small.
So, is it possible to change the gallery column count with css?
Cheers,
hughsieg5
Hey hughsieg5!
Thank you for using the Enfold theme.
Yes, that is possible. Use this on Quick CSS or custom.css to adjust the width of the gallery items:
@media only screen and (max-width: 767px) {
#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {
width: 25%%;
}
}
Best regards,
Ismael
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 480px) {
#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {
width: 20%;
}}
Regards,
Yigit