Magento 更改图像链接的标题文本链接(用于我的愿望列表)
我正在使用Magento 1.8.1,我找不到任何解决方案来替换我的移动响应版本中图标/图像链接的文本链接“我的愿望列表” 这篇文章是继我之前的一篇文章之后的,你可以在下面看到 但是,当我使用以下任意一种更改我的Layout.xml时,为愿望列表提供的代码不起作用:Magento 更改图像链接的标题文本链接(用于我的愿望列表),magento,icons,toplink,Magento,Icons,Toplink,我正在使用Magento 1.8.1,我找不到任何解决方案来替换我的移动响应版本中图标/图像链接的文本链接“我的愿望列表” 这篇文章是继我之前的一篇文章之后的,你可以在下面看到 但是,当我使用以下任意一种更改我的Layout.xml时,为愿望列表提供的代码不起作用: <customer_account> <reference name="customer_account_navigation"> <action method="removeLinkB
<customer_account>
<reference name="customer_account_navigation">
<action method="removeLinkBlock"><blockName>wishlist_link</blockName></action>
<action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active">
<name>wishlist</name>
<path>wishlist/</path>
<label></label>
<aParams>class="top-link-wishlist"</aParams>
</action>
</reference>
</customer_account>
<layout>
...
<reference name="top.links">
<action method="removeLinkBlock"><blockName>wishlist_link</blockName></action>
<action method="addLinkBlock"><blockName>wishlist_link</blockName><aParams>class="top-link-wishlist"</aParams></action>
</reference>
</layout>
愿望列表链接
愿望者
愿望者/
class=“顶部链接愿望列表”
或以下一项:
<customer_account>
<reference name="customer_account_navigation">
<action method="removeLinkBlock"><blockName>wishlist_link</blockName></action>
<action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active">
<name>wishlist</name>
<path>wishlist/</path>
<label></label>
<aParams>class="top-link-wishlist"</aParams>
</action>
</reference>
</customer_account>
<layout>
...
<reference name="top.links">
<action method="removeLinkBlock"><blockName>wishlist_link</blockName></action>
<action method="addLinkBlock"><blockName>wishlist_link</blockName><aParams>class="top-link-wishlist"</aParams></action>
</reference>
</layout>
...
愿望列表链接
愿望列表\u linkclass=“顶部链接愿望列表”
所以我的问题是我的错误在哪里?app\design\frontend\base\default\template\page\template\links.phtml更改此文件没有帮助,更改必须通过主题布局中的local.xml完成确切的问题是什么?链接是否至少已删除?还是有错误?是否添加了CSS类?请更准确一点。问题是我在没有登录的情况下无法看到我的愿望列表图标。我收到了第二条错误消息。对于上面提到的第二个代码,我相信类“top link wishlist”是声明的,因此我在css上使用它如下:。links li a.top-link-wishlist{background:url(../images/my_starlist.png)no repeat left 100%;background size:25px 25px;padding:20px 0px 0px 30px;position:static;width:10%;}错误消息说什么?愿望列表的HTML是否存在(未登录时)-我想是的,因为您声明“顶部链接愿望列表”存在。当看不到整个网站时,CSS很难调试。也许你可以提供一个网址?