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 Answer 1

-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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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