cancel
Showing results for 
Search instead for 
Did you mean: 

Installing a theme turns me crazy

Installing a theme turns me crazy

Hi all,

 

New Magento user here. Im currently using the newest version of Magento on a Mac. Further I use MAMP. I'm trying to install a theme but i'm not very succesfull. 

 

what i've done so far:

1. Installed magento 2. Standard website and back end worked. 

2. Downloaded a theme

3. I put the theme files (app, pub) inside the root folder of magento2 (/Applications/MAMP/htdocs)

 

Then I navigated to the bin folder of magento2: 

cd Applications/MAMP/htdocs/magento2/bin

 

and I ran the following command: 

php magento setup: upgrade 

And nothing happens. 

 

So im stuck at the part where I have to update. Can someone please help me? 

2 REPLIES 2

Re: Installing a theme turns me crazy

Hi @robert_prins 

 

I understand the problem you are facing.

 

There might be a chance that theme is not placed in the proper directory.

 

I would suggest you to check theme files as per following path :

 

Your Magento 2 Root Directory/app/design/frontend/VendorName/ThemeName

Here vendor Name is the theme provider name and theme name is actual theme name and in it all the files needs to be put.

 

After that you will require to run all the commands from the magento 2 root directory, only setup:upgrade will not work over here - so i would suggest you to run the following command in sequence :

 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f 
php bin/magento cache:clean
php bin/magento cache:flush

After running all this command now logged in to your Magento 2 backend from the left side menu click on content and under the design you will see a themes menu link , click on it you will see your installed theme name over there.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Installing a theme turns me crazy

@robert_prins for running the commands the commands you don't have to go into bin folder, instead you can run the commands inside the root of the magento directory.

 

Thanks