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

    Hi
    I’m trying to display a gallery on my home page. It’s all working exactly as I want other than at break points 989-1341px.
    In order to display an even, filled out block of pictures with no white gap at the end, I just installed two galleries with a different amount of pictures all set to the exact amount uploaded with no pagination. I then deactivated one gallery for desktop view and the other for the other three, but unfortunately the break points aren’t all covered and I don’t know how to target the gallery in order to fix it. I basically want to display the desktop gallery only from 1341px up. Please test to see what I mean.
    Can you tell me how to target this issue with CSS please?
    Thanks a million

    #1309165

    Hey june,

    Thanks for the login details. Could you post a screenshot highlighting the problem you are having please?

    Best regards,
    Rikard

    #1309488

    Hi Rikard
    The Gallery isn’t even at the bottom at break points 989-1341px.
    Here’s a screenshot of what I mean:
    https://snipboard.io/4fyH2j.jpg

    This is how it looks below the break point:
    https://snipboard.io/2YoCuf.jpg

    And this above it:
    https://snipboard.io/pmtALX.jpg

    How do I target the gallery at break points 989-1341px so it behaves like the second screenshot.
    Thank you!

    #1309572

    Hi,

    Thanks for the clarification. The settings you have selected will sort the images automatically based on a script. If you want different settings for other screen sizes, the you can add a copy of the current element, then select to use a grid in the Styling tab instead. We can help with hiding/showing the correct element for your selected screen size once you have added the copy.

    Best regards,
    Rikard

    #1309593

    Hi Rikard,

    I had a copy added all along. One is for desktop (top one) and the one below is for smaller screens. Now I’m lost as to what exactly you want me to do. If you want to add another copy please go ahead. You have the logins. Thank you!

    #1309690

    Hi,

    Thanks for the update. I gave your galleries IDs, and unticked the visibility boxes in the element options. Then I added this to Quick CSS:

    @media only screen and (min-width: 990px) and (max-width: 1340px) {
    #masonry-gallery-1 {
      display: none;
    }
    }
    
    @media only screen and (max-width: 989px) {
    #masonry-gallery-2 {
      display: none;
    }
    }
    
    @media only screen and (min-width: 1341px) {
    #masonry-gallery-2 {
      display: none;
    }
    }

    Please check if those are the results you are looking for. If it’s hiding/displaying the wrong gallery, then simply switch the IDs around.

    Best regards,
    Rikard

    #1309748

    Hi Rikard

    Thank you so much for your help. You’re quite the star!
    I adjusted the pixels and switched the id’s around and it’s now working how i want it to :)

    Thank you!

    #1309809

    Hi june,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

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