Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #567130

    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.

    #567136

    Hi Luisgasser!

    Can you please post the link to your website?

    Best regards,
    Yigit

    #567790
    #567910

    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

    #567931

    hi, thank you for your response, but it doesn’t change the columns on mobiles

    #567940

    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

    #567955

    great, thank you very much!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘gallery columns’ is closed to new replies.