I like to change some styles in my website, so i edited .less and CSS files
for example:
app/design/frontend/Templatemonster/theme/web/css/styles-l.lessI used "flush Magento cache" from backend still my modified files not updated. What can I use to solve this problem?
Smita Kagwade
1,4633 gold badges20 silver badges41 bronze badges
-
1if it is in production mode run static content deploymentPrathap Gunasekaran– Prathap Gunasekaran2019年06月12日 05:00:31 +00:00Commented Jun 12, 2019 at 5:00
-
1@mohana check reference : magento.stackexchange.com/a/96480/68695Rakesh Donga– Rakesh Donga2019年06月12日 05:01:33 +00:00Commented Jun 12, 2019 at 5:01
-
If i'm in developer mode, how to solve?Priya– Priya2019年06月13日 11:06:31 +00:00Commented Jun 13, 2019 at 11:06
1 Answer 1
You need to compile less using Grunt. You can find detailed description of configure grunt here
You can also run below commands from Magento root directory.
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Thanks
answered May 25, 2021 at 13:47
ZealousWeb
2,1561 gold badge5 silver badges16 bronze badges
default