Head Block does not load CSS file

3

I've created a block to load the CSS files:

<block type="page/html_head" name="head" as="head">
  <action method="addCss"><stylesheet>css/base.css</stylesheet></action>
  <action method="addCss"><stylesheet>css/topo.css</stylesheet></action>
  <action method="addCss"><stylesheet>css/rodape.css</stylesheet></action>
  <!--<action method="addCss"><stylesheet>css/reset.css</stylesheet></action>-->
</block>

and in the CSS directory I have these files:

base.css
reset.css
rodape.css
topo.css

base.css loads beauty, topo.css also but rodape.css does not load.

Any tips?

    
asked by anonymous 13.08.2014 / 15:40

1 answer

1

Try as reference rather than block

<reference name="head">
  <action method="addCss"><stylesheet>css/base.css</stylesheet></action>
  <action method="addCss"><stylesheet>css/topo.css</stylesheet></action>
  <action method="addCss"><stylesheet>css/rodape.css</stylesheet></action>
  <!--<action method="addCss"><stylesheet>css/reset.css</stylesheet></action>-->
</reference>
    
28.08.2014 / 21:55