cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a custom CSS file in Magento 2

SOLVED

How to add a custom CSS file in Magento 2

Is there a way to create my own CSS file that loads last in the cascade?

 

If so, how and where do I add my custom CSS file?

1 REPLY

Re: How to add a custom CSS file in Magento 2

How to add JavaScript / CSS / Less with a custom module: https://mage2.pro/t/34

When you need to give your CSS rule more priority than a standard CSS rule, just use a stronger selector.