-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Magento 2 Development Essentials
By :
As you learned in the previous chapter, it's time to activate the new theme. Activate the CompStore Electronics theme in the Admin area (http://localhost/packt/admin_packt) to see the following result:

Sometimes, when you update in the Magento structure or activate a new theme, you need to deploy the theme and module changes. If you want to deploy your changes, follow these steps:
Open the terminal or command prompt.
Delete the packt/pub/static/frontend/<Vendor>/<theme>/<locale> directory.
Delete the var/cache directory.
Delete the var/view_preprocessed directory.
Then, access the packt/bin directory.
Run the php magento setup:static-content:deploy command.
In some cases, it is necessary to give write permissions again to the directories.
Change the font size
Change margin width
Change background colour