我正在使用这个Colorlib主题 https://colorlib.com/wp/template/po-portfolio/comment-page-1/#comment-829144
并且想知道如何做到这一点,以便在移动网站上滚动时可以看到汉堡下拉菜单。
现在我必须一直滚动回到页面顶部以查看下拉选项
希望这很有意义,感谢您的帮助或见识
答案 0 :(得分:0)
Hello replace your style with below style:-
@media screen and (max-width: 992px) {
.site-navigation {
position: fixed;
top: 70px;
left: 0;
z-index: 99;
width: 100%;
height: 100vh;
background: #fff;
box-shadow: 0 12px 24px rgba(0,0,0,.09);
visibility: hidden;
opacity: 0;
transition: all 0.35s;
}
}
答案 1 :(得分:0)