官术网_书友最值得收藏!

Enabling a Magento theme

Now that you have the bare bones of your new Magento theme ready, you can enable your Magento theme. Log in to your Magento store's administration panel and navigate to the System | Configuration menu, as shown in the following screenshot:

Tip

Magento's administration panel is located at example.com/admin if you have installed Magento at example.com.

Once there, select the Design tab that has appeared in the left-hand column of the screen, keeping the Current Configuration Scope drop-down menu's value set to Default Config:

Next, expand the Themes section of the Design settings panel and enter the name of your Magento theme for the Default field here. In the following example, m18 is used as the name of the new Magento theme you are enabling:

Once you have done this, you need to click on the Save Config button in the top-right of the screen, after which you will see the The configuration has been saved success message, as shown in the following screenshot:

That's it! Your new Magento theme has been enabled. To test this, visit the frontend customer-facing side of your Magento store and refresh the page. You should be able see that the styles.css file removes all of the styles from the previously enabled theme and presents you with a rather unattractive screen, as shown in the following screenshot:

You can remove the styles.css file for now to return to Magento default theme styling; we will come back to customizing your theme's CSS in the later chapters.

主站蜘蛛池模板: 霸州市| 资兴市| 曲阳县| 新竹市| 阿克陶县| 贞丰县| 博爱县| 茌平县| 陆河县| 林西县| 禄劝| 左云县| 永安市| 山西省| 宝坻区| 苏尼特右旗| 永安市| 新丰县| 镇安县| 神木县| 昭觉县| 富民县| SHOW| 万荣县| 克山县| 浦江县| 益阳市| 兴海县| 佛坪县| 高要市| 郸城县| 孙吴县| 莱阳市| 大田县| 肇州县| 永安市| 萨迦县| 蕉岭县| 宝兴县| 福鼎市| 长兴县|