Hello,
how can i change the gallery columns for mobiles?
Now for desktops i have 9 columns, but on mobiles the icons with 9 columns are to small. So it would be better i could set a media query with 4 columns for example.
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 767px) {
#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {
width: 24.1111%;
}}
Cheers!
Yigit
hi, thank you for your response, but it doesn’t change the columns on mobiles
Hi!
Please try adding !important rule as following
@media only screen and (max-width: 767px) {
#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {
width: 24.1111% !important;
}}
If that too does not work, please create a temporary admin login and post it here privately.
Cheers!
Yigit
great, thank you very much!