gpt4 book ai didi

css - 切换菜单未显示在移动 View 中

转载 作者:行者123 更新时间:2023-11-28 01:22:57 25 4
gpt4 key购买 nike

我的切换菜单栏未在移动 View 中显示。我的网站是 http://gtcgroups.com/ 。当我减小窗口大小时,菜单不显示。如何修复它。我目前正在使用 WPtouch 插件,但它没有显示网站 Logo ,这就是为什么我想通过切换菜单的自定义代码来完成它。我尝试了不同的代码但没有工作

header .menu .nav {
display: none !important;
}
header .menu.active .nav {
display: block !important;
}

最佳答案

这是因为您在 custom.css 中编写了 CSS

.header-wrap {
height: 30px;
width: 1200px;
margin-top: 0px;
}
replace it by
.header-wrap {
height: 30px;
width: 1200px;
margin-top: 0px;
max-with:100%
}

关于css - 切换菜单未显示在移动 View 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51394101/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com