Reputation: 404
Please help me I have created new custom theme in magento 2 but I am facing problem to add new css file into theme.
For your information I have deploy code using composer to pub folder. Css files are copying there but not including those to frontend.
Upvotes: 0
Views: 5777
Reputation: 199
Recently In magento2 I have included css file in catalog_product_view.xml as
<head>
<css src="mage/gallery/styles-view.css"/>
</head>
Upvotes: 1
Reputation: 369
Suggest you start here.
Add your CSS as part of a layout as discussed in this topic.
If you have other questions, please let us know.
Upvotes: 1