VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: frisco75 on May 20, 2015, 14:56:46 PM

Title: Replace "trash can" and "refresh" icons in VM3
Post by: frisco75 on May 20, 2015, 14:56:46 PM
Hi,
I want to replace the old-fashioned "trash can" and "refresh quantity cart"" icons in VM3. So i replaced  "remove_from_cart.png" and "update_quantity_cart.png" in components/com_virtuemart/assets/images/vmgeneral but it didn't change nothing ! I had empty all the existing caches but those horribles blue icons stayed on the screen !!
Some help, please ?
Thaaaaaanks !
François
Title: Re: Replace "trash can" and "refresh" icons in VM3
Post by: jenkinhill on May 20, 2015, 15:07:46 PM
The default VM templates use a sprite image.    components/com_virtuemart/assets/images/vm2-sprite.png  so either edit the sprite or code to use a separate image.
Title: Re: Replace "trash can" and "refresh" icons in VM3
Post by: frisco75 on May 20, 2015, 15:33:08 PM
I modified the sprite and it's perfect  :)
Thanks a lot, Kelvyn !
Title: Re: Replace "trash can" and "refresh" icons in VM3
Post by: AH on May 20, 2015, 22:07:39 PM
Note that the sprite will get overwritten on update of VM