From now on, you will work more effectively with Magento 2 theme development. You received enough information so you can start developing your own Magento 2 theme.
Before moving on to the next topics, I would like to end this chapter with a presentation of the Magento debug tool.
With this tool, you can monitor the page rendering behavior of Magento 2, and thereby create a more effective environment for layout changes that you apply in your future projects.
To enable this feature, follow these instructions:
Access the Magento admin area (
http://localhost/packt/admin_packt
) in your favorite browser.Navigate to Stores | Configuration | Advanced | Developer.
Change the Enabled Template Path Hints for Storefront option to Yes and save the changes.
Take a look at the following screenshot:
You can set YES for Add Block Names to Hints if you want. This option shows the block names in the frontend, easing your identification of blocks that are used in Magento.
Go to the homepage...