Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1427902

    Is there a way to add breakpoints to the Enfold Gallery feature (https://kriesi.at/themes/enfold/shortcodes/gallery/). The Masonry Gallery does a nice job resizing itself as the screen/device gets smaller. But the regular Gallery doesn’t do that. I have a 5 column Gallery set-up and since all 5 columns do not change/reposition for smaller devices, the images displayed in them are very hard to see. Thanks.

    #1427935

    Hi NicomIT,

    Do you want to make it one column for mobile devices?

    Best regards,
    Nikko

    #1427992

    Hi Nikko,
    Two columns would be fine.
    Thanks!

    #1428166

    Hi NicomIT,

    Please add this CSS code in Enfold > General Styling > Quick CSS:

    @media only screen and (max-width:767px) {
      #top .avia-gallery-thumb {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
      }
    
      #top #wrap_all .avia-gallery .avia-gallery-thumb a {
        float: none;
        width: 100%;
      }
    }

    Hope it helps.

    Best regards,
    Nikko

    #1428209

    Thanks Nikko. That worked great.

    #1428227

    Hi,

    Great, I’m glad that Nikko could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1428244

    Hi Rikard.
    You should be fine to close it.
    Thanks.

    #1428253

    Hi NicomIT,

    Thanks for using Enfold and have a great weekend!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Mobile Options & Resizing for Enfold Gallery Feature’ is closed to new replies.