2015-10-29 141 views
0

在网站其他页面的CSS路径是Magento的加载错误CSS

http://xxx/magento_raw/skin/frontend/rwd/default/css/styles.css

但产品页面上它是

http://xxx/magento_raw/skin/frontend/base/default/css/styles.css

为什么Magento的从基地走的CSS产品页面上的文件夹。

+0

时的Magento找不到有效从你的CSS这一个显示使用基本主题的路径。使用这一个 http://magento.stackexchange.com/questions/13974/why-my-css-is-loading-from-the-base-theme-instead-of-custom-theme-on-migratingt –

回答

0

转至:设置 - >配置 - 常规 - >设计然后根据您的主题设置设计选项卡。

0

请使用此代码 你的主题/布局的/ etc/theme.xml

<theme> 
    <parent>yourtheme/default</parent> 
</theme> 

使用您的主题名称比它会从你的主题访问的CSS文件...