【发布时间】:2013-09-07 16:08:06
【问题描述】:
我正在尝试通过转到 CMS > Pages > Home > Design 将 css 文件添加到我的 CMS 主页,然后更新布局 XML,但是它不断将 /base 添加到 url 以显示以下内容:
<reference name="head">
<action method="addJs">
<script>nivo-slider/jquery.nivo.slider.js</script>
</action>
<action method="addCss">
<script>../bootstrap/theme_name/css/nivo-slider.css
</script></action>
</reference>
在视图源中输出以下内容:
<link rel="stylesheet" type="text/css" href="/skin/frontend/base/default/bootstrap/theme_name/css/nivo-slider.css" media="all" />
我试过 ../ 并添加绝对链接,但它只是在 /base/ 之后添加它
有没有办法可以覆盖试图添加到 /base/ 中的主题
【问题讨论】:
标签: html css magento twitter-bootstrap