【问题标题】:Submenu hidden behind content隐藏在内容后面的子菜单
【发布时间】:2018-05-03 14:52:31
【问题描述】:

我的侧边菜单有问题,我尝试使用 z-index,但它不起作用;(菜单在网页内容下..

请帮助: 这里是page

【问题讨论】:

  • 以后,请在 Stack Overflow 上为您的问题发布相关代码 - 大概您将对链接页面进行更改,此时,此页面对 Stack Overflow 的未来访问者变得无用。

标签: css wordpress styles


【解决方案1】:

问题很可能是在哪里您在应用 z-index。我在侧边栏的容器中添加了一个正 z-index,我在 Chrome 中没有看到任何问题。将正 z-index(我需要 99+)添加到以下内容:

<div class="et_pb_column et_pb_column_1_4  et_pb_column_0 et_pb_css_mix_blend_mode_passthrough">

【讨论】:

    【解决方案2】:

    尝试在此处将 z-index 放在主要文本上。

    .et_pb_gutters3 .et_pb_column_3_4, .et_pb_gutters3.et_pb_row .et_pb_column_3_4 {
        width: 73.625%;
        z-index: 0;
    

    }

    【讨论】:

      【解决方案3】:
      @media (min-width: 981px) {
        .et_pb_row .et_pb_column.et-last-child,
        .et_pb_row .et_pb_column:last-child {
          margin-right: 0 !important;
          z-index: 3;
        }
      }
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2020-11-02
        • 2016-11-11
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-08-03
        相关资源
        最近更新 更多