Reply To: Modal showing behind Steps Modal

#10034979
Support
Keymaster

Hello,

Oh right. This case we need identify the modal backdrop (back shadow).

For it please add this code at (js/custom.js):

$('#alertmodal').on('shown.bs.modal', function (e) {
  	var modalID = e.currentTarget.id;

  	$('.modal-backdrop').addClass( modalID.replace( '#', '' ) );
});

* This code above will add alertmodal to the backdrop of modal (back shadow).

This way you can add specific code for “alertmodal” backdrop:

.modal-backdrop.alertmodal {
	z-index: 99998 !important;
}

We hope this helps!

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