sim.plified.com

Chris Pollock

Chris Pollock - web developer (PHP/mySQL & ASP.NET)
undivided… my thoughts on world, family, church, business, technology and Jesus Christ (all in all)

Magento Custom.css

I am making the switch to Magento.  In the process I'm sure I'll be learning a lot.  I'm going to be posting what I learn here for a couple of reasons:

1. for my own documentation, so I can look back and see what I did
2. for your instruction, if you run into the same problem I did I hope this helps.

Custom.css is not included by default.

Add the following line to your page.xml

<action method="addCss"><stylesheet>css/custom.css</stylesheet></action>

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.

4 Comments, Comment or Ping

  1. Great site!
    I can't wait for your comments on this platform. I am also just starting on it.

    warm regards
    dimi

  2. Hi - where can I find "page.xml"?
    Thanks for this tip - just trying to figure this out - John

  3. Kristina

    How do you assign that new CSS file to a medium (e.g. "screen," "print," "handheld")?

Reply to “Magento Custom.css”

Things I see

IMG_9315IMG_9314IMG_9313IMG_9312IMG_9311IMG_9310IMG_9309IMG_9308IMG_9307IMG_9306IMG_9305IMG_9301IMG_9299IMG_9298IMG_9297

Chris Pollock

Web Developer - proficient in both PHP and ASP.NET.
Rochester, New York

View my web developement site.

View Chris Pollock's LinkedIn profile

My Pictures

IMG_9315IMG_9314IMG_9313IMG_9312IMG_9311IMG_9310IMG_9309IMG_9308IMG_9307IMG_9306IMG_9305IMG_9301IMG_9299IMG_9298IMG_9297