The magento theme include two parts:
1. Template file: layout, template. (default path: /app/design/frontend/default ( package name ) /default ( theme name ) / )
2. Style: Css, Js, Image(default path: /skin/frontend/default ( package name ) /default ( theme name ) / )
Customize magento theme have two difference way: The name of new theme is red
1. Create a new theme include all default file then change you want to customize.
A. Create a new theme folder for Template /app/design/frontend/default / red, then copy all file from /app/design/frontend/default /default to /app/design/frontend/default / red. B. Create a new theme folder for Style /skin/frontend/default /red, also copy all file under /skin/frontend/default /default to /skin/frontend/default /red. C. Then change the configuration of theme adminpanel->system->configuration->design-> on the theme tab, Change value of (template, css, layout,defult) to red. D. Then refresh the cache . |
2. Create a new theme include the file you want to customize
A. Create the new theme folder for Template ( /app/design/frontend/default / red) and Style /skin/frontend/default /red. B. Then change the configuration of theme adminpanel->system->configuration->design-> on the theme tab, Change value of (template, css, layout,defult) to red. C. Just copy the file you want to change to the new folder. Then change them D. Then refresh the cache .
NOTE: When use this way to cusomize the new theme, the system will found the template file and style file in the new theme, if it don't find the one needed will use the default one. |