How to open Fancybox above the menu

0

I'm having a hard time, when I open a lightbox Fancybox it's getting below my menu, I changed the position of it, but I did not like the result, because it was strange, but I could not let it open up. p>

The page with the effect is this: Page under Lightbox

I tried to change the opening of it by z-index , but without success:

.fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10020;
    margin-top:35px;
}
    
asked by anonymous 24.02.2016 / 15:51

1 answer

0

I was able to solve the problem I had, I changed the following files:

style.css

header {
    position: fixed;
    top: 0;
    width: 100%;
    // ALTEREI AQUI
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    /*outline: #00FF00 dotted thick;*/
}

jquery.fancybox.css

.fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    // ALTEREI AQUI
    z-index: 1000000;
    margin-top:35px;
}
    
24.02.2016 / 19:48