How to install a downloaded free theme in magento 2?

14,035

Solution 1

  1. Upload and decompress the theme file into webroot folder in your site
  2. Run the command script via SSH or terminal app of your site: php -f bin/magento setup:upgrade (be sure that you are at magento home folder)
  3. If theme show in list themes. Go to Stores > Configuration > Design > choose design "Your theme". Save the change. The step will apply the theme for frontend of your store.

Solution 2

You can move your downloaded theme on your project app/code & app/design folders & fire all the necessary commands like below:

sudo php bin/magento cache:clean
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Share:
14,035

Related videos on Youtube

Onion
Author by

Onion

Updated on October 26, 2022

Comments

  • Onion
    Onion over 1 year

    I have just installed magento 2 in windows 10 , in xampp 127.0.0.1:8080 domain and by default it has a luma theme on it , i have downloaded a new theme called purity in .zip formate and since i am new to magento i have no idea how to install this theme? anyone please help me if you can, thank you