diff --git a/assets/js/script.js b/assets/js/script.js index f9fb09b..aeafa5b 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -101,7 +101,7 @@ jQuery(function ($) { /* ========================================================================= */ /* Magnific popup /* ========================================================================= */ - $('.image-popup').magnificPopup({ + $('.image-popup-gallery').magnificPopup({ type: 'image', removalDelay: 160, //delay removal by X to allow out-animation callbacks: { @@ -111,6 +111,9 @@ jQuery(function ($) { this.st.mainClass = this.st.el.attr('data-effect'); } }, + gallery:{ + enabled:true + }, closeOnContentClick: true, midClick: true, fixedContentPos: false, diff --git a/layouts/partials/imageSlideShow.html b/layouts/partials/imageSlideShow.html index ff96f9f..f85b055 100644 --- a/layouts/partials/imageSlideShow.html +++ b/layouts/partials/imageSlideShow.html @@ -18,18 +18,32 @@