Deploying a New Magento 2 Theme Step by Step

Deploying a New Magento 2 Theme Step by Step

Installing a Magento 2 theme is mostly about getting static files built correctly. Here is the short version.

1. Give PHP enough memory

In php.ini, set memory_limit to at least 512M (2G is safer for larger stores). Static content deployment is memory hungry.

2. Deploy static content

From the Magento root, run php bin/magento setup:static-content:deploy. Add your locales (for example en_GB en_US) if you sell in more than one language.

3. Activate the theme

Go to Content > Design > Configuration, edit the store view and choose the new theme. Then flush the cache with php bin/magento cache:flush.

Need a second pair of eyes on this? Our team handles Magento development every week. See how we can help.

Keep reading

Related articles

All articles

Need a hand?

Stuck on something similar?
We can fix it with you.

Send us the problem. A senior developer reads every message and replies within one working day.