Take the 2-minute tour ×
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

i want to call css from theme folder using xml layout, below is code i am using:

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

which calls css from below path:

http://URL-HERE/skin/frontend/base/default/design.css

but it call wrong css file i want to call it from current theme folder

like :

http://URL-HERE/skin/frontend/smartwave/porto/css/design.css

How can i fix it

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try to use

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

You forgot to add "css" to stylesheet's path.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.