Plone 徽标未出现在 iPod 等移动设备上
我正在为我们在 Plone 4 CMS 中构建的网站添加响应式样式,并在旧的 iPod 2 设备上进行测试。在此设备上查看时,不显示 logo.png。 Plone.org 左上角徽标也有类似问题,并且未出现在此设备上。其他经过测试的 Plone 网站也出现了徽标。
我已将“base_properties.props”文件中的徽标更改为其他格式,即 logo.gif 和 logo.jpg,但结果没有改善。我非常小心地确保徽标文件的拼写准确。
非常感谢
I'm adding responsive styles for our website built in Plone 4 CMS and testing on an old iPod 2 device. When viewing on this device, the logo.png does not display. Plone.org top left logo has similar problem and does not appear on this device. Other Plone websites tested have logos appearing.
I've changed the logo to a different format, i.e. logo.gif, and logo.jpg in the 'base_properties.props' file with no improved results. I was careful to ensure spelling of logo files was accurate.
Many Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它已在 mobile.css 文件中明确删除:
https://github.com/plone/plonetheme.sunburst/blob/master/plonetheme/sunburst/skins/sunburst_styles/mobile.css#L11
#portal-logo {
显示:无;
}
It's explicitly removed in the mobile.css file:
https://github.com/plone/plonetheme.sunburst/blob/master/plonetheme/sunburst/skins/sunburst_styles/mobile.css#L11
#portal-logo {
display: none;
}
我相信您只需将图标添加到元素中的链接对象即可。
看看 http://www.falsepositives.com/index.php/2011/01/31/adding-favicons-for-mobile-safari-web-sites-ipodiphoneipad/
这可以完成通过自定义 main_template 或通过自定义/添加位于头部的视图。
I believe you just have to add the icon to a link object in the element.
Take a look at http://www.falsepositives.com/index.php/2011/01/31/adding-favicons-for-moble-safari-web-sites-ipodiphoneipad/
This could be done by customizing the main_template or by customizing/adding a viewlet that is in the head.