Reply To: Wizard not working correctly inside of Lightbox

#10034335
Support
Keymaster

Hello,

Really there’s a strange issue when using lightbox + wizards inside. Probably some conflict between magnific popup code and bootstrap wizard. Here’s a solution to fix that issue:

– Open the file examples.lightboxes.js and modify the “Dialog with CSS animation” code to this new:

/*
Dialog with CSS animation
*/
$('.popup-with-zoom-anim').magnificPopup({
	type: 'inline',

	fixedContentPos: false,
	fixedBgPos: true,

	overflowY: 'auto',

	closeBtnInside: true,
	preloader: false,

	midClick: true,
	removalDelay: 300,
	mainClass: 'my-mfp-zoom-in',
	callbacks: {
		open: function() {
			$('.wizard-steps li:nth-child(1) > a').trigger('click');
		}
	}
});

OBS: We hide the link from your first post.

Please try that and let us know if you need further assistance.

Kind Regards,

Rodrigo.

If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads