steffen-wirth
2/6/2015 - 11:49 AM

add & remove css files in head

add & remove css files in head

<reference name="head">
			<action method="addItem">
				<type>skin_css</type>
				<name>css/app.css</name>
			</action>
			<action method="removeItem">
				<type>skin_css</type>
				
				<name>css/styles.css</name>
			</action>
</reference>			
<reference name="head">
    <!-- For a JS in the js folder -->
    <action method="removeItem"><type>js</type><name>functions.js</name></action>
    <!-- For a JS in the skin folder -->
    <action method="removeItem"><type>skin_js</type><name>functions.js</name></action>
    <!-- For CSS in the skin folder -->
    <action method="removeItem"><type>skin_css</type><name>local.css</name></action>
    <!-- For CSS in the js folder -->
    <action method="removeItem"><type>js_css</type><name>local.css</name></action>
</reference>