2

I want to modify all css files in path:

app/code/Aheadworks/Autorelated/view/frontend/web/css Path to files

What is the best way to do it?

1 Answer 1

3

You can add in your theme app/design/fronted/PackageTheme/YourTheme/Aheadworks/Autorelated/web/css, and copy the CSS file from app/code/Aheadworks/Autorelated/view/frontend/web/css, and there you can change it.

For edit in LESS file, you must add _module.less file in this path app/code/Aheadworks/Autorelated/view/frontend/web/css/source and you can copy the CSS content from CSS files in _module.less and you can edit. After that you must run php bin/magento setup:static-content:deploy

2
  • Thank you, I know this way. But I asked how to modify css via LESS? Example I have file app/code/Aheadworks/Autorelated/view/frontend/web/css/category.css and I want to override this file using LESS. Commented Mar 27, 2018 at 7:25
  • 1
    I filled out the answer Commented Mar 27, 2018 at 7:29

Your Answer

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.