[英]How to install a downloaded free theme in magento 2?
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? 我刚刚在xampp 127.0.0.1:8080域的Windows 10中安装了magento 2,默认情况下它具有luma主题,我在.zip formate中下载了一个名为pure的新主题,由于我是magento的新手,不知道如何安装这个主题? anyone please help me if you can, thank you 任何人都可以帮我,谢谢
You can upload the extracted theme in your web root folder. 您可以将提取的主题上载到Web根文件夹中。 Go to your site by running command code and run the following commands. 通过运行命令代码转到您的站点,然后运行以下命令。
php bin/magento setup:upgrade –keep-generated
php bin/magento setup:static-content:deploy
Now you can setup the new theme. 现在您可以设置新主题。
Select “Design” under “General” on the left panel. 在左侧面板的“常规”下选择“设计”。
Open the Theme section 打开主题部分
In the Design Theme field, select the new Theme as you want. 在“设计主题”字段中,根据需要选择新主题。
Click Save Config. 单击保存配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.