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:


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

like :


How can i fix it


Try to use

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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