[英]How can I manually control the collapse button on my wordpress site
I have a problem. 我有个问题。 This is the site that i was building in x theme in wordpress using cornerstone.
这是我使用基石在wordpress的x主题中构建的网站。 The problem is that nav menus where too many and causes a problem on screen width around 980px to somewhere around 1100px and the nav menus go below the brand logo.
问题在于导航菜单太多,导致屏幕宽度在980像素左右到1100像素左右,并且导航菜单位于品牌徽标下方。 Is there a way to control that collapse button to trigger when it reached a certain width?
有没有一种方法可以控制收合按钮达到一定宽度后触发?
sorry for the win xp thing this is just a test pc for the site 对于Win XP感到抱歉,这只是该站点的测试用PC
您可以使用百分比设置徽标容器和导航菜单的宽度,例如徽标使用20%,菜单使用80%,并对两个元素应用浮点数,因此浏览器将缩放宽度,而不会破坏导航到新的行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.