How to create custom theme in Magneto 2 ??
Step 1. Create Theme Directory. Ex. magento2/app/design/frontend/extendtree/customtheme.
Step 2. Now create a theme.xml file. Directory will be like app/design/frontend/extendtree/customtheme/theme.xml
Note: upload theme image inside directory: app/design/frontend/extendtree/customtheme/media/customtheme.jpg
Step 3. Add a composer.json file to the theme directory : magento2/app/design/frontend/extendtree/customtheme/composer.json
Step 4. Add registration.php file in theme directory: magento2/app/design/frontend/extendtree/customtheme/registration.php
Step 5. Add file default.xml in directory magento2/app/design/frontend/extendtree/customtheme/Magento_Theme/layout/default.xml
Note: custom theme logo need to upload in directory: /app/design/frontend/extendtree/customtheme/web/images/customtheme_logo
Step 6. That's it. Now your theme is fully configured with magento system. To confirm this check in backend :Admin-> Content > Design > Themes
Step 7. Now select your theme inside Admin-> Stores > Configuration > Design & clear the caches.
That's it..!!
Thank you..!!
"The easy way for everything."
Great Article but you have missed last step in which you have to run some commands in the Magento root directory. Here's a full guide: https://magenticians.com/create-custom-theme-magento-2/
ReplyDeleteAwesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
ReplyDeletehttp://newizze.com/
Thanks for sharing, I always create custom theme instead of buying any exisdting, and it is the best practice to get unique and 100% self made theme with your mind, Here's the guide that helped me while creating custom theme in Magento 2.
ReplyDeleteOf the considerable number of components of a logo, shading assumes a focal job in the allure and viability of a logo. logo design service
ReplyDeleteThere is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. unique logo design
ReplyDelete