2

如何用我的主题中的主题特定图标覆盖来自 plone 的图像/图标?

我想转

<img width="16" height="16" alt="Image" src="http://127.0.0.1:8080/plone/image.png">

进入

<img width="16" height="16" alt="Image" src="http://127.0.0.1:8080/plone/++theme++mytheme/image.png">
4

1 回答 1

1

进行此特定更改的最简单方法++theme++mytheme/image.png是通过 Web 或使用通用设置配置文件在 portal_types 中简单地设置为图像类型的图标。

如果您必须在重氮中进行更改,那么您可以使用:

<replace css:content="img[src$=/image.png]"><img width="16" height="16" alt="Image" src="image.png" /></replace>
于 2012-03-19T12:18:31.423 回答