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

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.

主站蜘蛛池模板: 颍上县| 东乡县| 万宁市| 嘉禾县| 澄城县| 耿马| 朝阳县| 高碑店市| 迁西县| 开江县| 兴宁市| 吕梁市| 柞水县| 镇康县| 罗源县| 宣武区| 谢通门县| 衡南县| 张北县| 新兴县| 盐山县| 仁化县| 梨树县| 正宁县| 清新县| 抚顺市| 潜山县| 和政县| 锡林郭勒盟| 宽城| 长泰县| 景洪市| 奎屯市| 长丰县| 旬邑县| 东台市| 宣恩县| 上林县| 新田县| 宜章县| 和平县|