Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想根据用户的意愿更改整个 Magneto CSS 主题模板?怎么做,有什么要学的?
去
应用程序 > 设计 > 前端 > yourtheme > 布局 > local.xml
然后添加一个新文件来覆盖默认的 CSS 规则:
<action method="addItem"><type>skin_css</type><name>css/custom.css</name><params/></action>
您还可以在同一位置添加自定义 JS 文件:
<action method="addJs"><script>custom.js</script></action>