0

I have a custom skin

/skin/frontend/venedor/myskin/

this skin has a default folder:

/skin/frontend/venedor/default/

I have a css file /skin/frontend/venedor/myskin/css/stlye.css where an image is loaded:

.test { background-image: url(../images/test.png); }

How can I load the fallback image in the default theme (/skin/frontend/venedor/default/) if the image can't be loaded? Is this even possible?

-1

That is Magento default functionlity.

When you specify any images path it to following things.

  1. Magento Look into the current theme, If images found then ok otherwise,

  2. Magento to look into the default theme/Parent theme.

  • Then why does it not work? What is my mistake? – Black Apr 8 at 14:22
  • what code you hace done and where? – Dhiren Vasoya Apr 8 at 14:23
  • The code is in my question – Black Apr 8 at 14:23
  • Have you check permission of images? – Dhiren Vasoya Apr 8 at 14:25
  • Yes, permissions are ok – Black Apr 8 at 14:28

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.