I'm trying to add a custom CSS file when a Magento action is loaded.
My layout page is as follows :
<layout version="0.1.0">
<helloworld_index_index>
<reference name="head">
<action method="addCss">
<stylesheet>css/custom.css</stylesheet>
</action>
</reference>
<reference name="root">
<block type="page/html" name="root" output ="toHtml" template = "mypage.phtml"/>
</reference>
</helloworld_index_index>
</layout>
The content of mypage.phtml displays without a problem but the CSS is not loaded. The path to my css is :
skin\frontend\base\default\css\custom.css
helloworld/index/index
the css file is not loaded when i check chrome dev tools.