Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1410366

    On https://elliottlandy.com/popcolor/ my client would like to disable the pop-up slideshow on the mobile version when you click on one of the images in the masonry grid but leave it running on the desktop version. Do you have a css or php hack for that? Much appreciated.

    #1410404

    Hey tonyiatridis,

    Thank you for the inquiry.

    To disable the lightbox or pointer events for the masonry item on mobile devices, you can use the following CSS code:

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .av-masonry-entry.av-masonry-item-loaded {
        pointer-events: none;
      }
    }
    

    By setting pointer-events to none, the masonry item will no longer respond to user interactions, effectively disabling the lightbox or any other pointer events associated with it.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.