Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #323845

    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

    #324698

    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

    #324884
    This reply has been marked as private.
    #324942

    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

    #324987
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Gallery Columns – Choose the column count of your Gallery’ is closed to new replies.