Jump to content

prestashop 1.7.4.2 modal popup not working


ijipk

Recommended Posts

Hi 

I have two modules in my order page, one of them is used to choose a pickup place for the package and another is used for payment. 
When I activate that the modules should use a popup, it never shows. The screen gets grey but nothing is shown (See image) 

does anyone know where to look? 

Theme: Warehouse 
PS.v: 1.7.4.2
PHP.v: 7.0

modal.png

Link to comment
Share on other sites

I found the error, it was in the theme's modals.css. I had to add some code to the custom.css that overrides the theme's code 

 

/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.fade.in{
    opacity:1
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    outline: 0;
}

.modal, .modal-open {
    overflow: hidden;
}

.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.modal-content{
  border-radius: 0;
  border: none;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 1;
  transition: all 0.3s;

}

.modal-backdrop {
     z-index: 2; 
}


 

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...