【问题标题】:wordpress nav sub menu goes under product name boxwordpress 导航子菜单位于产品名称框下方
【发布时间】:2018-04-17 14:57:16
【问题描述】:

我有一个 wordpress 网站,它有导航插件和产品目录插件。出现子菜单时,产品名称框(由其他插件处理)层位于子菜单上方。

页面示例:http://mitraprestasiprima.com/cartel/

我已将菜单 z 层设置为高于产品框 z 层, 但是它仍然没有解决它。

这里有人可以指导我如何解决这个问题吗?

【问题讨论】:

    标签: wordpress


    【解决方案1】:

    你的问题在这里:

    将此代码添加到您的自定义 CSS 中应该可以解决您的问题

      #primary .page .entry-content .al_archive h3.product-name .al_archive 
      .product-name {
       z-index: 1 !important;
         }
    

    【讨论】:

    • 没用。我也在下面尝试过,它也不起作用。 ' .ic-design.green-box.product-name { z-index: 2;位置:相对; } .mega-menu-wrap-top { z-index: 1;位置:相对; }'
    • 哦,等一下让我再检查一下课程
    • .ic-design.green-box.product-name { z-index: 2;位置:相对; } .product-list { z-index: 1;位置:相对; }
    • 确定没问题
    猜你喜欢
    • 1970-01-01
    • 2014-02-16
    • 2019-09-08
    • 1970-01-01
    • 2016-09-14
    • 1970-01-01
    • 2013-09-26
    • 2013-11-30
    • 1970-01-01
    相关资源
    最近更新 更多