css - 菜单在手机屏幕外显示

标签 css wordpress media-queries

我的 wordpress 菜单有问题,它没有显示在移动设备上的所需位置

http://savvyretiree.wpengine.com/category/investing/

一如既往地非常感谢您的帮助。

最佳答案

您可以将此规则添加到移动设备的媒体查询中以使其正确对齐:

.menu-primary-container {
    position: absolute;
    right: 0;
    margin-top: 47px;
}

根据需要调整margin-top

关于css - 菜单在手机屏幕外显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59008505/

相关文章:

html - 奇怪的 float 行为

Wordpress 插件 z-index 覆盖不起作用

html - wordpress中单个条目的自定义CSS

javascript - 如何使 knockout-js 模板 css 媒体查询感知?

html - CSS 媒体查询正确用法

Jquery创建下推div效果

javascript - 多选元素并删除元素和文档单击中的属性?

使用 Bootstrap 在视网膜显示屏上设置 CSS 断点

css - 是否可以使用位置 :fixed or an alternative to this and have it remain in the natural flow?

css - 如果我使用 React MediaQuery 组件,如何在桌面版和移动版之间切换