Support › Forums › Cian – HTML Template › How to add an inline Magnific-Pop? › Reply To: How to add an inline Magnific-Pop?
September 25, 2014 at 10:27 pm
#4017
Keymaster
Hi Celso,
can you send me your url website to check the error?
Anyway, the script magnificPopup is used to show the images in the galley. It’s used in the file custom.js in this way:
/* ==============================================
/* MAGNIFIC POPUP FOR PORTFOLIO
================================================== */
$('.portfolio-popup').magnificPopup({
type: 'image',
removalDelay: 500, //delay removal by X to allow out-animation
callbacks: {
beforeOpen: function() {
this.st.image.markup = this.st.image.markup.replace('mfp-figure', 'mfp-figure mfp-with-anim');
this.st.mainClass = 'mfp-zoom-in';
}
},
closeOnContentClick: true,
fixedContentPos: false
});
Regards