【问题标题】:How to fix problem "Clickable elements too close together" in Google Search Console如何解决 Google Search Console 中“可点击元素靠得太近”的问题
【发布时间】:2019-11-28 06:58:11
【问题描述】:

我目前正在开发一个网站,并刚刚将其提交给 Google SC。索引后我收到错误“可点击元素太靠近”。我按照 Google 为 Accessible 样式制作的 guide,但错误仍然存​​在。

我将所有“a”和“button”标签的宽度设置为至少 48x48 像素,并确保它们之间至少有 8 像素的空间。

网址是:https://www.karlochanton.se

任何提示或修复?

【问题讨论】:

    标签: css button google-search google-search-appliance google-search-console


    【解决方案1】:

    您能否添加此 css 代码,如下所示。我没有确认,请试试这个..如果它不起作用,请分享截图

    @media (max-width: 991px){
       .main-navigation .menu li {
          margin: 10px 0px;
       }
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-27
      • 1970-01-01
      • 1970-01-01
      • 2019-12-31
      • 2013-12-24
      • 2018-12-25
      • 1970-01-01
      相关资源
      最近更新 更多