Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1363475

    Hi,
    I think it is intended to open the lightbox on tap/click on an image.
    Unfortunately it doesn’t – only when pressing the [<=>] Button.

    Greets Tobias

    #1363761

    Hey Tobias,
    Thank you for your patience and for the login, but this is not an admin login, please update the login so we can see your theme options.

    Best regards,
    Mike

    #1363892
    This reply has been marked as private.
    #1363946

    try this in quick css
    (if you only like to have that on some horizontal galleries – then you had to give to that alb element a custom-class – and adjust the selectors.)

    the trick is to have on the active item the anchor at whole container width and height. So the active click region will be the full image. The before content in this case will be not seen.

    .av-horizontal-gallery {
      overflow: visible !important
    }
    
    #top .av-horizontal-gallery-wrap.av-active-gal-item {
      box-shadow: 0px 0px 10px #aaa
    }
    
    #top .av-horizontal-gallery-wrap.av-active-gal-item .av-horizontal-gallery-link {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      height: 100%;
      width: 100%;
      transform: scale(1);
    }
    
    .av-horizontal-gallery-wrap.av-active-gal-item:hover .av-horizontal-gallery-link {
      opacity: 0;
      transition: none !important;
    }
    
    #top .av-horizontal-gallery-wrap.av-active-gal-item .av-horizontal-gallery-link:before {
      content: " ";
      position: relative;
      top: 0;
      left: 0;
      display: block;
      height: 100%;
      width: 100%;
    }

    see on: https://enfold.webers-webdesign.de/smudgedesign/#horizontal-gallery

    i haven’t tested yet if it works with touch on mobile devices …

    #1363963

    Sometimes you can’t see the forest for the trees. I also tried scripting it through jQuery first and then generating a custom Magnific Popup for it.
    It was quite easy due to the class (av-active-gal-item) located only at the highlighted element, to open the lightbox using the whole area of the image. Since the corresponding button (icon) was in the pseudo-container, it is easy to hide it in this case.

    #1364195

    Hi,

    @tobiastoifl
    thank you for the login, your horizontal gallery is performing correctly, the click is to advance to the next slide, if you want to open the active slide in a lightbox then

    @Guenni007
    code above works, thank you @Guenni007, please try this.

    Best regards,
    Mike

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