0

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

1

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.