每个父类别的magento独立样式表 [英] magento separate stylesheet per parent category
本文介绍了每个父类别的magento独立样式表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
因此,在类别 - >自定义设计 - >自定义布局更新中,我可以做什么一些xml来调用样式表?
如果是这样怎么样?如果没有,任何其他想法。
干杯
< reference name =head=h2_lin>解决方案
>
< action method =addCss>
< stylesheet> yourtheme / css / red.css< / stylesheet>
< params> media =screen< / params>
< / action>
< / reference>
太棒了!
What I want to do is setup a stylesheet each of my parent categories...
So in category -> custom design -> Custom Layout Update can I do some xml to call a styleheet?
If so how? If not, any other ideas.
Cheers
Shane
解决方案
Just worked it out
<reference name="head">
<action method="addCss">
<stylesheet>yourtheme/css/red.css</stylesheet>
<params>media="screen"</params>
</action>
</reference>
Awesome!
这篇关于每个父类别的magento独立样式表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文