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

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.

主站蜘蛛池模板: 乌兰察布市| 湘西| 崇阳县| 门源| 资兴市| 乳山市| 吉木乃县| 潢川县| 陇南市| 苍山县| 庄浪县| 霞浦县| 施甸县| 无棣县| 丹巴县| 四子王旗| 大姚县| 北宁市| 汶川县| 南充市| 武功县| 涿鹿县| 遂川县| 于都县| 泰和县| 青州市| 晋宁县| 丹棱县| 昭觉县| 新乡市| 于都县| 乳源| 南华县| 遂宁市| 咸丰县| 图们市| 平武县| 渝北区| 全州县| 灵宝市| 都安|