Step 1. In the terminal, open the root Magento directory.
Step 2. Navigate to the directory of the affected module (
app/code/Amasty/ModuleName ) and open the
registration.php file. It will contain the module name in the needed format; please copy it for further use.
Step 3. From the module directory, go to the following path:
mview/frontend/web/css/source/mkcss and find a file of a similar format:
ambrand.less); save its name and copy its content for further use.
Step 4. Navigate to the directory of the theme; it can be found at
Step 5. There, using the previously copied module and .less file names, create an
Step 6. After that, copy the content of the
ammodule.less file from the module folder to the newly created file, and add two "steps" (../../) to the path of
The file contents should look as follows (the underlined elements in bold are the added ones):