【问题标题】:favicon not showing on inner pages of magentofavicon 未显示在 magento 的内页上
【发布时间】:2014-09-19 05:31:10
【问题描述】:

在我的一个 magento 网站中,我添加了 favicon 使用

magento 管理面板 > 系统 > 配置 > 设计 > HTML 头 > favicon 图标

它在 magento 主页中显示得很好,但在内页中没有显示。我已将当前配置范围更改为存储视图并执行相同的过程。它仍然无法正常工作。我已经清除了缓存并重新编制了索引。但它不起作用。

为什么会这样?我该如何解决这个问题?

谢谢。

【问题讨论】:

  • 你说的是后端还是前端?
  • 可以发内页的视图源吗,只有部分
  • @Amit Bera 我说的是前端...

标签: magento magento-1.8 favicon


【解决方案1】:

@jatinder kumar 你可能只需要这个?

<link rel="icon" href="http://navaani.in/media/favicon/stores/17/favicon_1.png" type="image/x-icon">
<link rel="shortcut icon" href="http://navaani.in/media/favicon/stores/17/favicon_1.png" type="image/x-icon">
<link rel="shortcut icon" href="http://navaani.in/skin/frontend/base/default/images/dresscode_images/favicon.ico">

<link rel="apple-touch-icon" href="http://navaani.in/skin/frontend/base/default/images/dresscode_images/apple-touch-icon.png">

<link rel="apple-touch-icon" sizes="72x72" href="http://navaani.in/skin/frontend/base/default/images/dresscode_images/apple-touch-icon-72x72.png">

<link rel="apple-touch-icon" sizes="114x114" href="http://navaani.in/skin/frontend/base/default/images/dresscode_images/apple-touch-icon-114x114.png">

<link href="//fonts.googleapis.com/css?family=Amaranth:200,300,400,500,600,700,800" rel="stylesheet" type="text/css">

如果你想要更多,问我。谢谢。

【讨论】:

    【解决方案2】:

    我们也经历过类似的事情。我们通过用我们的覆盖根文件夹中的默认 favicon.ico 解决了这个问题(如果我正确理解了您的问题)。

    注意,与 favicon.ico 相关的浏览器缓存非常热心 :) 因此,您可能只能通过在以前未打开过该站点的浏览器中或在其他计算机上打开该站点来看到更改。

    【讨论】:

      猜你喜欢
      • 2017-07-20
      • 2012-09-24
      • 2021-10-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多