0

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.less
I 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
asked Jun 12, 2019 at 4:57
3
  • 1
    if it is in production mode run static content deployment Commented Jun 12, 2019 at 5:00
  • 1
    @mohana check reference : magento.stackexchange.com/a/96480/68695 Commented Jun 12, 2019 at 5:01
  • If i'm in developer mode, how to solve? Commented Jun 13, 2019 at 11:06

1 Answer 1

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.