Helpful hint: if you use Amasty extensions, to avoid any conflicts with 3rd-party themes, subscribe to our Custom Theme release. Based on the feedback we've received from our customers, we're now developing a custom theme with the view to offer:
Magento 2 has two basic themes ‘The Blank Theme’:
and ‘The Lumia Theme’, which is available in case you installed the sample data:
Here we are going to tell you how to install a third-party theme in Magento 2. There are three magento 2 setup variants:
This is the most popular variant of theme installation. If your new theme is just a set of files, which you receive in a .zip folder, you will need to add the theme manually.
Unzip the archive of the theme and find two directories: app and pub.
Navigate to the root directory of your Magento 2 store (use FileZilla or any other file manager). Upload the folders into the root directory.
Connect the store via SSH, go to the root directory and upgrade the set up using the commands:
php bin/magento setup:upgrade;
php bin/magento setup:static-content:deploy.
Go to the Content>Design>Configuration and choose Edit the store theme:
Select the desired theme from the dropdown menu and click the Save Configuration button.
If a new theme is presented as a composer package, you will need to install it using composer.
The installation process of a theme using Composer is the same as for any other third-party extension. Here are the general steps you should complete:
composer require <vendor>/<name>:<version>;
Make sure the theme is registered. For this open the Admin Panel or reload any of the backend pages after it’s installed. Then navigate to Content>Design>Themes and check the theme is displayed on the right panel in the list of available themes.
If a new theme has been distributed as an extension, you will need to work with the Web Setup Wizard in Magento 2 Admin.
Before installing a new theme make sure your system meets the requirements here. You are also advised to Create Backup of your website before installing a new theme.
After the installation, check whether there are additional setting instructions from the developer. Depending on the plugins and applets of a theme, additional settings can be required. How to change theme in magento 2? You may have to make changes in the database or files. Follow the instructions from the theme developer.