2015-10-29 105 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文件...