cancel
Showing results for 
Search instead for 
Did you mean: 

how to add custom css

how to add custom css

Hello,

 

I would like to add a custom CSS file to my Magento theme, I found a few references online to putting a custom.css file in the css folder. But when I search my Magento build, I found 20 CSS folders, which one do I add the CSS file

 

I installed a theme as per this thread

https://community.magento.com/t5/Theming-Layout-Design-Questions/adding-theme-does-nothing/

2 REPLIES 2

Re: how to add custom css

There are two way to add css to head one is  using function addCss and another is addItem.

 

<action method="addCss"><stylesheet>css/javcustom.css</stylesheet></action>

<action method="addItem"><type>skin_css</type><name>css/javcustom.css</name></action>

 

 

Re: how to add custom css

Hello,

 

thank you for your help.

 

Like i asked in first quesion, which of the 20 CSS folders in the build do I add it to?  Can you provide me the file path please?