Create button for multi pic light gallery

I got some great help from @Thai regarding a button that opens a lightbox both on desktop and mobile about 3 weeks ago. It worked great up until we moved content from our dev site to our live site, which is now at www.pulstar-mfg.com/about-pulstar.

All of the HTML, CSS, and JS is the same as what @Thai suggested. Any idea why the images don’t appear in a light box when you click on the button and why the image gallery is no longer hidden?

Hello @ppe29,

Thanks for writing in! Please check your server because it is down at the moment.

Please contact your hosting provider to resolve this issue first. Once it is live again, please inform us so that we acn investigate the issue you are having.

Best Regards.

sorry it’s pulstarmfg.com/about-pulstar

Hi,

You can try changing the js code to this.

jQuery ( function($) {
  $('.gallery-button').off('touchstart touchend').on('click touchstart', function() {
           $('.mobx-gallery figure:first-child img').trigger('click');
  } );
} );

Then add this in Theme Options > CSS

.group-gallery {
   display:none;
}

Hope that helps

Yea that’ll work just fine. Cheers Paul! =)

Glad we were able to help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.