Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Adding CSS files
 
Commanderbob
Member
 
Total Posts:  61
Joined:  2008-10-19
 

I want to add a css file so I don’t need to mess with the existing files. I added the file to styles.css but it is not being loaded. Where do I have to edit to make it be loaded? I was unable to find the answer on the forum. I did fined a lot of unanswered posts.
Thanks,
Justin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Commanderbob
Member
 
Total Posts:  61
Joined:  2008-10-19
 

I figured it out.
You need to replace

<action method="addCss"><stylesheet>css/reset.css</stylesheet></action>
<
action method="addCss"><stylesheet>css/boxes.css</stylesheet></action>
<
action method="addCss"><stylesheet>css/clears.css</stylesheet></action>
<
action method="addCss"><stylesheet>css/menu.css</stylesheet></action>
with
<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>

EDIT: forgot to say this is in page.xml

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top