/* Иконки Новинка, Хит, Скидка*/ .ico-sale {position: absolute;width: 100px;height: 100px;overflow: hidden;top: 170px;right: 10px;z-index: 1;text-indent: -999px;} .ico-new {position: absolute;width: 100px;height: 50px;overflow: hidden;top: 10px;left: -10px;z-index: 2;text-indent: -999px;} .ico-best {position: absolute;width: 100px;height: 100px;overflow: hidden;top: 170px;left: 0px;z-index: 3;text-indent: -999px;} .ico-sale {left: auto;right: 10px;background: url("{ASSETS_IMAGES_PATH}sale.png") no-repeat center;} .ico-new {background: url("{ASSETS_IMAGES_PATH}new.png") no-repeat center;} .ico-best {background: url("{ASSETS_IMAGES_PATH}hit.png") no-repeat center;}
Должно быть так.
НО! Показывается только один стикер из трех , хотя на товаре могут быть сразу три стикера.
1. Почему все три стикера на одном товаре не показываются? Как исправить?
2. Как задать условие, чтобы стикер Sale показывался при выставлении скидки 0%?