Upload Magento 2 theme

So now you’ve browsed and successfully downloaded the Magento 2 theme for your Store. Congratulation! Your website is about to have a whole new Interface, which may excite your visitors and probably brings you more leads and sales this month.

However, you have two more steps to successfully have your theme work for you: Upload Magento 2 Theme and Install it. This may sound easy at first, but without coding knowledge and Magento Module Installation experience, this work could become hours of finding the bug, fixing the errors, giving the wrong command and even mistakenly delete your website’s precious customer data.

This article presents to you 4 main ways to upload your just-downloaded-theme to your server, even without the help of a developer. These 4 ways are: Upload by uploading the unzipped file via FTP, upload by uploading the zipped file via FTP, upload via cPanel, and lastly upload using Composer. To ensure you would not lose your previous work, we encourage you to set up a new branch to come back when you want.

1. Upload Magento 2 theme by uploading the unzipped file via FTP (slowest method)

  • Log in to your FTP Account using FileZilla
    Log In Filezilla to upload Magento 2 theme
  • Go to <theme> folder in your computer, it’s where you see something like this

    select magento 2 theme unzipped files
  • Select all files, and drag them to Server Site Directory in Filezilla
    drag unzipped Magento 2 theme here
  • Wait (may take up to 30 minutes, depends on which theme you have) until all files are transferred successfully

    Wait for Unzipped files to upload successfully

2. Upload Magento 2 theme by uploading the zipped file via FTP (fast method)

  • Log in to your FTP Account using FileZilla
  • Select your zipped theme file
  • Upload the file
    drag zipped Magento 2 theme here
  • Unzip Theme file using SSH:

    unzip [theme name].zip

3. Upload Magento 2 theme via cPanel (faster method)

  • Log in to your cPanel account
  • Find File Manager
    Find file manager to upload magento 2 theme
  • Select site directory: Usually it is located in /var/www/html/[your website name]/
  • Click Upload
    Click Upload magento 2 theme
  • Choose your zipped Theme file
  • Extract the uploaded file

    Extract uploaded zipped magento 2 theme

4. Upload Magento 2 theme via Composer (fastest method)

  • Get the theme’s Composer name.
    you can find the name and version of any module (whether or not you purchased it on Marketplace) in the module’s composer.json file. Open App > Code > [Theme name] > Setup > composer.json in a text editor and find the values of "name" and "version".
  • Change to your Magento root directory and enter the command:
composer require [vendor]/[theme name]:[version]

For example,

composer require BSS/THINNK-THEME:1.0.0
  • Wait for dependencies to update.

After uploaded and unzipped the theme successfully, you have to install the theme by upgrade setup, import demo data, deploy, and flush cache to have your theme installed just the way you see the theme demo. The procedure results from Magento’s natural system.

Bonus: Install after uploading Magento 2 Theme

  • Upgrade Setup: Input

    php bin/magento setup:upgrade 

    Upgrade Magento 2 Theme After Upload

  • Deploy
    • In case you use Magento version 2.2.x and above, input

      php bin/magento setup:static-content:deploy –f 
    • In case you use Magento version 2.1.x and lower, input

      php bin/magento setup:static-content:deploy
  • Go to your Magento Admin > Content > Design > Configuration > Edit Main Website Store >

    Enable Magento 2 theme after uploadThen Select your theme > Save Configuration

    select your magento 2 theme to enable after upload
  • Flush Cache
  • Import Demo Data

    Import data from your magento 2 theme after upload
  • Flush Cache

Upload Magento 2 theme, in conclusion

There you have your theme fully uploaded with full CMS, Blocks to the server.

Next, to display your theme, you have to install the theme correctly.

If you have any more question regarding uploading Magento 2 theme, leave a short comment below, and we will respond shortly.

You can also browse the theme we have spent all our time and pride on to develop below. 

Upload magento 2 theme