Skip to content

Magento: Add External JS/CSS File to Header Tag

this is example how to add an external JS/CSS files to magento header into layout file :


<reference name=”head”>
<block type=”core/text” name=”google.cdn.jquery”>
<action method=”setText”>

<script type=”text/javascript” src=””></script>
<script type=”text/javascript”>jQuery.noConflict();</script>

<link href=’’ rel=’stylesheet’ type=’text/css’>


Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *