0

I am building a custom theme in Magento and Luma theme is my parent theme. I am trying to customize the product listing page with my own style.

Here is what I did

  1. I copied list.phtml from module catalog and place it under my theme Magento_Catalog/templates/product/list.phtml
  2. Add _module.less file under Magento_Catalog/web/css/source/ to extend the luma product listing page When I try to run the static deploy commanded, I get below error

    [Magento\Framework\Exception\FileSystemException]

    Cannot read contents from file "/Users/georgemm/Sites/magento2/pub/static/f
    rontend/George/ultimate/en_US/css/styles-m.css" Warning!file_get_contents(/
    Users/georgemm/Sites/magento2/pub/static/frontend/George/ultimate/en_US/css

    /styles-m.css): failed to open stream: No such file or directory

Can you please help how to extend less file for particular page

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy