Local Css
You can download that css file for exemple newcssfile.css
, then you add it in :
skin/frontend/{package}/{themeName}/css/newcssfile.css
Magento doesn't know this new file, so you have to declare it in :
app/design/frontend/{package}/{themeName}/layout/local.xml
<?xml version="1.0" encoding="UTF-8"?>
<layout version="0.1.0">
<default>
<reference name="head">
<action method="addItem"><type>skin_css</type><name>css/newcssfile.css</name></action>
</reference>
</default>
</layout>
External Css
app/design/frontend/{package}/{themeName}/layout/local.xml
<?xml version="1.0" encoding="UTF-8"?>
<layout version="0.1.0">
<default>
<reference name="head">
<block type="core/text" name="external-css-1">
<action method="setText">
<text><![CDATA[<link rel="stylesheet" type="text/css" href="http://path-to-your-external-newcssfile.css">]]></text>
</action>
</block>
</reference>
</default>
</layout>
Note: if you already have the local.xml
file, you just add the piece of code between <reference name="head">...</reference>
in that <reference name="head">
block.
Currently my custom.css
file is getting extremely long and fragile.
You have to create another css file, follow the same steps 1&2 of Local Css
part, just change the css name for exemple styledond.css
in : skin/frontend/{package}/{themeName}/css/styledond.css
, and <action method="addItem"><type>skin_css</type><name>css/styledond.css</name></action>
Good luck.