A
A
Arthur2020-10-31 23:54:52
Magento
Arthur, 2020-10-31 23:54:52

How to add your style file in Magento 2?

In the view/frontend/layout in the .xml file I write like this, but it doesn't help:
5f9dcf017132e341692400.png

What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
imdeveloper, 2020-10-31
@arturweb01

specify the paths with the module:
Vendor_Module::css/style.css
And just in case, deploy the statics:
php bin/magento setup:static-content:deploy -f

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question