Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 固定头在视差图像上消失_Jquery_Css_Parallax - Fatal编程技术网

Jquery 固定头在视差图像上消失

Jquery 固定头在视差图像上消失,jquery,css,parallax,Jquery,Css,Parallax,我在这里有一个网站,你可以看到,我有多个视差图像和一个固定导航条,当我开始滚动时,我看到固定导航条没有越过视差,而是在它后面 我曾尝试将z索引添加到导航栏,因为我必须将z索引添加到视差图像以使其显示,但将z索引添加到导航栏没有任何效果 CSS 您需要设置div的位置。在style.css中添加以下css .eltdf-side-menu-slide-from-right .eltdf-wrapper, .eltdf-content { position: inherit !importa

我在这里有一个网站,你可以看到,我有多个视差图像和一个固定导航条,当我开始滚动时,我看到固定导航条没有越过视差,而是在它后面

我曾尝试将z索引添加到导航栏,因为我必须将z索引添加到视差图像以使其显示,但将z索引添加到导航栏没有任何效果

CSS


您需要设置div的位置。在style.css中添加以下css

.eltdf-side-menu-slide-from-right .eltdf-wrapper, .eltdf-content {
    position: inherit !important;
}

.eltdf-page-header {
    z-index: 11000 !important;
}
.eltdf-side-menu-slide-from-right .eltdf-wrapper, .eltdf-content {
    position: inherit !important;
}

.eltdf-page-header {
    z-index: 11000 !important;
}