2) css/yourstyle.css&..." /> How To Add An External Javascript/css File To Magento? 2) css/yourstyle.css&..." /> 2) css/yourstyle.css&..." /> 2) css/yourstyle.css&...", "image": { "@type": "ImageObject", "url": "https://www.rendc.org/cdn/main_article.gif", "width": 1220, "height": 526 }, "author": { "@type": "Person", "name": "RENDC" }, "publisher": { "@type": "Organization", "logo": { "@type": "ImageObject", "url": "https://www.rendc.org/cdn/logo/rendc.gif", "width": 150, "height": 150 }, "name": "RENDC.ORG" } }
Answers

Question and Answer:

  Home  Magento

⟩ How to add an external javascript/css file to Magento?

1) <action method="addJs"><script>js/yourfile.js</script></action>

2) <action method="addCss"><stylesheet>css/yourstyle.css</stylesheet></action>

3) OR

4) <action method="addItem"><type>skin_js</type><name>js/ yourfile.js</name></action>

5) <action method="addItem"><type>skin_css</type><name>css/yourstyle. css</name></action>

 255 views

More Questions for you: