magento individuelle css files nachladen


/ Published in: XML
Save to your folder(s)

Then you will need to update your cache

Go to the Admin. Click System >> Cache Management. Select "Refresh" from the list and click save in the upper right.

At this point, any changes you see in custom should start appearing in you site.

Die zweite Zeile kann man verwenden, wenn man die css datei nicht über die xml Datei aufruft sondern über die xml layout update Felder in der cms oder Produktverwaltung.


Copy this code and paste it in your HTML
  1. <action method="addCss"><stylesheet>css/custom.css</stylesheet></action>
  2.  
  3. <reference name="head"><action method="addCss"><stylesheet>css/frontpage.css</stylesheet></action></reference>

URL: http://sim.plified.com/2008/07/29/magento-customcss/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.