0

我尝试使用 css "order: 1;" 重新排序菜单 等,但我无法移动右侧的汉堡包按钮。

在 wordpress 中无法编辑菜单(我只能编辑链接和徽标图像),我想我需要通过代码来完成。

网址是:https ://materassibifulco.it (看手机版)

我需要将购物车图标设为最后一个,将汉堡菜单设为第一个。

非常感谢!如果您需要更多信息,请询问我

4

1 回答 1

0

我已经检查了菜单的位置,position: absolute;并且很难与简单的对齐order:1; 尝试此代码它可以帮助您

@media (max-width:767px){
   .header_mobile .octf-btn-cta {
      padding-right: 0;
      position: absolute;
      right: 0;
   }
   .mobile_logo {
      display: inline-flex;
      justify-content: center;
      width: 100%;
   }
   .mobile_logo a img {
        left: 0 !important;
    }
   .octf-header-module:nth-child(2) {
      display: none;
   }
   #mmenu_toggle {
    left: 0px;
   }
}


在这种风格之后的检查员中,它看起来像

于 2020-12-28T16:36:01.013 回答