Elementor:手机上隐藏了一个版块

Elementor: a section is hidden on mobile phones

我正在尝试使用 OceanWp 主题。 我已经导入了演示数据“律师”。并为自己修改。

这是一个演示:https://lawyer.oceanwp.org/

“为什么选择我们公司”部分不显示在手机 phone 上。 在演示中,在我的例子中。

它在某个地方切换了。我还检查了是否手动添加了 class。好像没有加class。但实际上 elementor-hidden-phone 仍然存在。你能告诉我要看什么来解决这个问题吗?

要通过 CSS 解决此问题,只需按照以下步骤操作即可。

  1. 登录后,编辑 elementor 中的“为什么选择我们公司”部分。

  2. 添加一个 class,例如 - “lawyer-firmvisible-section”。

  3. 放CSS

    @media (max-width: 1024px){
      section.lawyer-firmvisible-section {
        display: block!important;
      }
    }
    

请在自定义 CSS 插件中使用此 CSS (https://wordpress.org/plugins/custom-css-js/)

@media (max-width: 1024px){
     section.lawyer-firmvisible-section {
          display: block !important;
       }
    }

Elementor 中存在错误:选中“在移动设备上隐藏”并取消选中它 - class 会消失