cancel
Showing results for 
Search instead for 
Did you mean: 

Could not parse theme static file when trying to override modules style

   Did you know you can see the translated content as per your choice?

Could not parse theme static file when trying to override modules style

I'm trying to override a module specific style. The style is defined in the following file:

vendor/mirsavit/module-blog/view/frontend/web/css/source/module/catalog/_related_posts.less

 

I copied this file to:

app/design/frontend/my_vendor/my_theme/mirasvit_module-blog/web/css/source/module/catalog/_related_posts.less

and made my changes there.

 

Now if I do  static-content:deploy I get:

Could not parse theme static file

 

Is the location of the file correct? Do I have to change the name of the file? What is the problem?